[#BloombergLP-bdlc-operator_eq-043] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator== :relfileprefix: ../../ :mrdocs: Equality operators == Synopses Declared in `<bdlc_bitarray.h>` Return `true` if the specified `a` and `b` iterators are equal. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ENTRY> bool xref:BloombergLP/bdlc/operator_eq-098.adoc[operator==]( xref:BloombergLP/bdlc/FlatHashTable_IteratorImp.adoc[FlatHashTable_IteratorImp<ENTRY>] const& a, xref:BloombergLP/bdlc/FlatHashTable_IteratorImp.adoc[FlatHashTable_IteratorImp<ENTRY>] const& b); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-098.adoc[_» more..._]# Return whether two sets have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class HASH, class EQUAL> bool xref:BloombergLP/bdlc/operator_eq-042.adoc[operator==]( xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet<KEY, HASH, EQUAL>] const& a, xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet<KEY, HASH, EQUAL>] const& b); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-042.adoc[_» more..._]# Return whether the sets have the same contents. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> bool xref:BloombergLP/bdlc/operator_eq-096.adoc[operator==]( xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet] const& a, xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet] const& b); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-096.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` index clerks have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlc/operator_eq-0e2.adoc[operator==]( xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk] const& lhs, xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-0e2.adoc[_» more..._]# Return `true` if `lhs` and `rhs` have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlc/operator_eq-05.adoc[operator==]( xref:BloombergLP/bdlc/IndexClerkIter.adoc[IndexClerkIter] const& lhs, xref:BloombergLP/bdlc/IndexClerkIter.adoc[IndexClerkIter] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-05.adoc[_» more..._]# Return whether the specified queues have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class T> bool xref:BloombergLP/bdlc/operator_eq-0b.adoc[operator==]( xref:BloombergLP/bdlc/Queue.adoc[Queue<T>] const& lhs, xref:BloombergLP/bdlc/Queue.adoc[Queue<T>] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-0b.adoc[_» more..._]# Return whether `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class VALUE, class HASH, class EQUAL> bool xref:BloombergLP/bdlc/operator_eq-0d9.adoc[operator==]( xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap<KEY, VALUE, HASH, EQUAL>] const& lhs, xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap<KEY, VALUE, HASH, EQUAL>] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-0d9.adoc[_» more..._]# Return whether the maps have the same key/value contents. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> bool xref:BloombergLP/bdlc/operator_eq-04c.adoc[operator==]( xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap] const& lhs, xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-04c.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class ENTRY, class ENTRY_UTIL, class HASH, class EQUAL> bool xref:BloombergLP/bdlc/operator_eq-0d5.adoc[operator==]( xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL>] const& lhs, xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL>] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-0d5.adoc[_» more..._]# Return whether the iterators refer to the same position (see free `operator==`). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> bool xref:BloombergLP/bdlc/operator_eq-06.adoc[operator==<>]( xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator] const& lhs, xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-06.adoc[_» more..._]# Return whether the iterators refer to the same position. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> bool xref:BloombergLP/bdlc/operator_eq-07.adoc[operator==<>]( xref:BloombergLP/bdlc/FlatHashTable_IteratorImp.adoc[FlatHashTable_IteratorImp] const& a, xref:BloombergLP/bdlc/FlatHashTable_IteratorImp.adoc[FlatHashTable_IteratorImp] const& b); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-07.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` arrays have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bdlc/operator_eq-085.adoc[operator==]( xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray<TYPE>] const& lhs, xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray<TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-085.adoc[_» more..._]# Return `true` if the values stored in `lhs` and `rhs` are equal. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bdlc/operator_eq-02.adoc[operator==]( xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray_CountedValue<TYPE>] const& lhs, xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray_CountedValue<TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-02.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` iterators are equal. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bdlc/operator_eq-0e8.adoc[operator==]( xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator<TYPE>] const& lhs, xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator<TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-0e8.adoc[_» more..._]# Return whether the iterators refer to the same position (see free `operator==`). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> bool xref:BloombergLP/bdlc/operator_eq-091.adoc[operator==]( xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator] const& lhs, xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray_ConstIterator] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-091.adoc[_» more..._]# Return `true` if `lhs` and `rhs` have the same value, else `false`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlc/operator_eq-04d.adoc[operator==]( xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& lhs, xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-04d.adoc[_» more..._]# Return `true` if `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bdlc/operator_eq-080.adoc[operator==]( xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray<TYPE>] const& lhs, xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray<TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-080.adoc[_» more..._]# Return `true` if `lhs` and `rhs` refer to the same position. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bdlc/operator_eq-0a.adoc[operator==]( xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator<TYPE>] const& lhs, xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator<TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/operator_eq-0a.adoc[_» more..._]# == Return Value * `true` if the iterators are equal, and `false` otherwise * `true` if `a` and `b` have the same value, and `false` otherwise * `true` if equal, and `false` otherwise * `true` if `lhs` and `rhs` have the same value, and `false` otherwise * `true` if `lhs` and `rhs` have the same value, and `false` otherwise * `true` if the iterators refer to the same position, and `false` otherwise * `true` if the arrays have the same value, and `false` otherwise * `true` if the values are equal, and `false` otherwise * `true` if the iterators refer to the same position, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *a* | first iterator to compare | *b* | second iterator to compare | *lhs* | left‐hand‐side index clerk | *rhs* | right‐hand‐side index clerk |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#