[#BloombergLP-bslstl-operator_eq-0c0]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Return `true` if the specified `lhs` and the specified `rhs` iterators have the same value and `false` otherwise&period; Two iterators have the same value if they refer to the same position in the same tree, or if both iterators are at an invalid position in the tree (i&period;e&period;, the `end` of the tree, or the default constructed value)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class VALUE1,
    class VALUE2,
    class NODEPTR,
    class DIFF&gt;
bool
operator&equals;&equals;(
    xref:BloombergLP/bslstl/TreeIterator.adoc[TreeIterator&lt;VALUE1, NODEPTR, DIFF&gt;] const& lhs,
    xref:BloombergLP/bslstl/TreeIterator.adoc[TreeIterator&lt;VALUE2, NODEPTR, DIFF&gt;] const& rhs);
----


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