[#BloombergLP-bslstl-TreeIterator-2constructor-007]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/TreeIterator.adoc[TreeIterator]::TreeIterator
:relfileprefix: ../../../
:mrdocs:

Create an iterator at the same position as the specified `original` iterator&period; Note that this constructor enables converting from modifiable to const iterator types&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class NON&lowbar;CONST&lowbar;ITERATOR&gt;
TreeIterator(NON&lowbar;CONST&lowbar;ITERATOR const& original)
requires bsl&colon;&colon;is&lowbar;convertible&lt;NON&lowbar;CONST&lowbar;ITERATOR,
                                                       NcIter&gt;&colon;&colon;value;
----


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