[#prevector-0c-const_iterator-2constructor-04c]
= xref:prevector-0c.adoc[prevector]::xref:prevector-0c/const_iterator.adoc[const&lowbar;iterator]::const&lowbar;iterator
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;prevector&period;h&gt;`

Constructs an iterator that does not refer to any element&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:prevector-0c/const_iterator/2constructor-046.adoc[const&lowbar;iterator]() = default;
----

[.small]#xref:prevector-0c/const_iterator/2constructor-046.adoc[_» more&period;&period;&period;_]#

Constructs a const iterator from a mutable iterator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:prevector-0c/const_iterator/2constructor-0d8.adoc[const&lowbar;iterator](xref:prevector-0c/iterator.adoc[iterator] x);
----

[.small]#xref:prevector-0c/const_iterator/2constructor-0d8.adoc[_» more&period;&period;&period;_]#

Constructs an iterator referring to the element at `ptr&lowbar;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:prevector-0c/const_iterator/2constructor-0dc.adoc[const&lowbar;iterator](T const* ptr&lowbar;);
----

[.small]#xref:prevector-0c/const_iterator/2constructor-0dc.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| The mutable iterator to convert&period;
| *ptr&lowbar;*
| Pointer to the element the iterator refers to&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
