[#bsl-List_Iterator-2constructor-07] = xref:bsl.adoc[bsl]::xref:bsl/List_Iterator.adoc[List_Iterator]::List_Iterator :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<bslstl_list.h>` Create a singular iterator (i.e., one that cannot be incremented, decremented, or dereferenced until assigned a non‐singular value). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/List_Iterator/2constructor-05.adoc[List_Iterator](); ---- [.small]#xref:bsl/List_Iterator/2constructor-05.adoc[_» more..._]# Create an iterator with the same value as the specified `other`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/List_Iterator/2constructor-0a.adoc[List_Iterator](xref:bsl/List_Iterator.adoc[NcIter] const& other); ---- [.small]#xref:bsl/List_Iterator/2constructor-0a.adoc[_» more..._]# Create an iterator that references the value pointed to by `nodePtr`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:bsl/List_Iterator/2constructor-0d.adoc[List_Iterator](xref:bsl/List_Iterator.adoc[Node]* nodePtr); ---- [.small]#xref:bsl/List_Iterator/2constructor-0d.adoc[_» more..._]# == 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]#