[#BloombergLP-bslstl-operator_eq-0c1] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::operator== :relfileprefix: ../../ :mrdocs: Equality operators == Synopses Declared in `<bslstl_bidirectionaliterator.h>` Return `true` if `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2, class ITER_IMP, class TAG_TYPE> bool xref:BloombergLP/bslstl/operator_eq-066.adoc[operator==]( xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardIterator<T1, ITER_IMP, TAG_TYPE>] const& lhs, xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardIterator<T2, ITER_IMP, TAG_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-066.adoc[_» more..._]# Return whether two bidirectional iterators refer to the same position. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2, class ITER_IMP, class TAG_TYPE> bool xref:BloombergLP/bslstl/operator_eq-08.adoc[operator==]( xref:BloombergLP/bslstl/BidirectionalIterator.adoc[BidirectionalIterator<T1, ITER_IMP, TAG_TYPE>] const& lhs, xref:BloombergLP/bslstl/BidirectionalIterator.adoc[BidirectionalIterator<T2, ITER_IMP, TAG_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-08.adoc[_» more..._]# Return `true` if `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2, class ITER_IMP, class TAG_TYPE> bool xref:BloombergLP/bslstl/operator_eq-0c7.adoc[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]#xref:BloombergLP/bslstl/operator_eq-0c7.adoc[_» more..._]# Return whether the specified iterators refer to the same tree node. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bslstl/operator_eq-02.adoc[operator==]( xref:BloombergLP/bslstl/TreeIterator.adoc[TreeIterator<VALUE1, NODEPTR, DIFF>] const& lhs, xref:BloombergLP/bslstl/TreeIterator.adoc[TreeIterator<VALUE2, NODEPTR, DIFF>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-02.adoc[_» more..._]# Return `true` if `lhs` and `rhs` refer to the same position. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE1, class VALUE2, class NODEPTR, class DIFF> bool xref:BloombergLP/bslstl/operator_eq-0c0.adoc[operator==]( xref:BloombergLP/bslstl/TreeIterator.adoc[TreeIterator<VALUE1, NODEPTR, DIFF>] const& lhs, xref:BloombergLP/bslstl/TreeIterator.adoc[TreeIterator<VALUE2, NODEPTR, DIFF>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-0c0.adoc[_» more..._]# Return `true` if `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY_CONFIG, class HASHER, class COMPARATOR, class ALLOCATOR> bool xref:BloombergLP/bslstl/operator_eq-0f.adoc[operator==]( xref:BloombergLP/bslstl/HashTable.adoc[HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR>] const& lhs, xref:BloombergLP/bslstl/HashTable.adoc[HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-0f.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_eq-0b.adoc[operator==]( xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-0b.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_eq-0e.adoc[operator==]( xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-0e.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_eq-04e.adoc[operator==]( xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-04e.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_eq-040.adoc[operator==]( xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-040.adoc[_» more..._]# Return `true` if `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_eq-09.adoc[operator==]( xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-09.adoc[_» more..._]# Same as the preceding overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_eq-03.adoc[operator==]( xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-03.adoc[_» more..._]# Same as the preceding overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_eq-06e.adoc[operator==]( xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-06e.adoc[_» more..._]# Same as the preceding overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_eq-07.adoc[operator==]( xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_eq-07.adoc[_» more..._]# == Return Value * `true` if `lhs` and `rhs` have the same value, and `false` otherwise * `true` if the iterators have the same value, and `false` otherwise * `true` if the iterators refer to the same tree node, and `false` otherwise * `true` if the hash tables compare equal * `true` if the iterators have the same value == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | first iterator to compare | *rhs* | second iterator to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#