[#bsl-List_Iterator-2constructor-07]
= xref:bsl.adoc[bsl]::xref:bsl/List_Iterator.adoc[List&lowbar;Iterator]::List&lowbar;Iterator
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bslstl&lowbar;list&period;h&gt;`

Create a singular iterator (i&period;e&period;, one that cannot be incremented, decremented, or dereferenced until assigned a non&hyphen;singular value)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/List_Iterator/2constructor-05.adoc[List&lowbar;Iterator]();
----

[.small]#xref:bsl/List_Iterator/2constructor-05.adoc[_» more&period;&period;&period;_]#

Create an iterator with the same value as the specified `other`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/List_Iterator/2constructor-0a.adoc[List&lowbar;Iterator](xref:bsl/List_Iterator.adoc[NcIter] const& other);
----

[.small]#xref:bsl/List_Iterator/2constructor-0a.adoc[_» more&period;&period;&period;_]#

Create an iterator that references the value pointed to by `nodePtr`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:bsl/List_Iterator/2constructor-0d.adoc[List&lowbar;Iterator](xref:bsl/List_Iterator.adoc[Node]* nodePtr);
----

[.small]#xref:bsl/List_Iterator/2constructor-0d.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| iterator whose value is copied
| *nodePtr*
| node this iterator will reference, or null
|===


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