[#BloombergLP-bslstl-operator_eq-0c0] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and the specified `rhs` iterators have the same value and `false` otherwise. 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.e., the `end` of the tree, or the default constructed value). == Synopsis Declared in `<bslstl_treeiterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE1, class VALUE2, class NODEPTR, class DIFF> bool operator==( xref:BloombergLP/bslstl/TreeIterator.adoc[TreeIterator<VALUE1, NODEPTR, DIFF>] const& lhs, xref:BloombergLP/bslstl/TreeIterator.adoc[TreeIterator<VALUE2, NODEPTR, DIFF>] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#