[#BloombergLP-bslstl-operator_eq-0c7] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` iterator has the same value as the specified `rhs` iterator, and `false` otherwise. Two iterators have the same value if they refer to the same element, or both have the past‐the‐ end value for the underlying sequence. The behavior is undefined unless both iterators refer to the same underlying sequence. == Synopsis Declared in `<bslstl_randomaccessiterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2, class ITER_IMP, class TAG_TYPE> bool operator==( xref:BloombergLP/bslstl/RandomAccessIterator.adoc[RandomAccessIterator<T1, ITER_IMP, TAG_TYPE>] const& lhs, xref:BloombergLP/bslstl/RandomAccessIterator.adoc[RandomAccessIterator<T2, ITER_IMP, TAG_TYPE>] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#