[#BloombergLP-bdlc-operator_eq-043]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Equality operators

== Synopses

Declared in `&lt;bdlc&lowbar;bitarray&period;h&gt;`

Return `true` if the specified `a` and `b` iterators are equal&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ENTRY&gt;
bool
xref:BloombergLP/bdlc/operator_eq-098.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/FlatHashTable_IteratorImp.adoc[FlatHashTable&lowbar;IteratorImp&lt;ENTRY&gt;] const& a,
    xref:BloombergLP/bdlc/FlatHashTable_IteratorImp.adoc[FlatHashTable&lowbar;IteratorImp&lt;ENTRY&gt;] const& b);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-098.adoc[_» more&period;&period;&period;_]#

Return whether two sets have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class HASH,
    class EQUAL&gt;
bool
xref:BloombergLP/bdlc/operator_eq-042.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet&lt;KEY, HASH, EQUAL&gt;] const& a,
    xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet&lt;KEY, HASH, EQUAL&gt;] const& b);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-042.adoc[_» more&period;&period;&period;_]#

Return whether the sets have the same contents&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_eq-096.adoc[operator&equals;&equals;](
    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&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` index clerks have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlc/operator_eq-0e2.adoc[operator&equals;&equals;](
    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&period;&period;&period;_]#

Return `true` if `lhs` and `rhs` have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlc/operator_eq-05.adoc[operator&equals;&equals;](
    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&period;&period;&period;_]#

Return whether the specified queues have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class T&gt;
bool
xref:BloombergLP/bdlc/operator_eq-0b.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/Queue.adoc[Queue&lt;T&gt;] const& lhs,
    xref:BloombergLP/bdlc/Queue.adoc[Queue&lt;T&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-0b.adoc[_» more&period;&period;&period;_]#

Return whether `lhs` and `rhs` have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class VALUE,
    class HASH,
    class EQUAL&gt;
bool
xref:BloombergLP/bdlc/operator_eq-0d9.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap&lt;KEY, VALUE, HASH, EQUAL&gt;] const& lhs,
    xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap&lt;KEY, VALUE, HASH, EQUAL&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-0d9.adoc[_» more&period;&period;&period;_]#

Return whether the maps have the same key&sol;value contents&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_eq-04c.adoc[operator&equals;&equals;](
    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&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class ENTRY,
    class ENTRY&lowbar;UTIL,
    class HASH,
    class EQUAL&gt;
bool
xref:BloombergLP/bdlc/operator_eq-0d5.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable&lt;KEY, ENTRY, ENTRY&lowbar;UTIL, HASH, EQUAL&gt;] const& lhs,
    xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable&lt;KEY, ENTRY, ENTRY&lowbar;UTIL, HASH, EQUAL&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-0d5.adoc[_» more&period;&period;&period;_]#

Return whether the iterators refer to the same position (see free `operator&equals;&equals;`)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_eq-06.adoc[operator&equals;&equals;&lt;&gt;](
    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&period;&period;&period;_]#

Return whether the iterators refer to the same position&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_eq-07.adoc[operator&equals;&equals;&lt;&gt;](
    xref:BloombergLP/bdlc/FlatHashTable_IteratorImp.adoc[FlatHashTable&lowbar;IteratorImp] const& a,
    xref:BloombergLP/bdlc/FlatHashTable_IteratorImp.adoc[FlatHashTable&lowbar;IteratorImp] const& b);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-07.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` arrays have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_eq-085.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bdlc/CompactedArray.adoc[CompactedArray&lt;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-085.adoc[_» more&period;&period;&period;_]#

Return `true` if the values stored in `lhs` and `rhs` are equal&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_eq-02.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray&lowbar;CountedValue&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray&lowbar;CountedValue&lt;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-02.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` iterators are equal&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_eq-0e8.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator&lt;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-0e8.adoc[_» more&period;&period;&period;_]#

Return whether the iterators refer to the same position (see free `operator&equals;&equals;`)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_eq-091.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator] const& lhs,
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-091.adoc[_» more&period;&period;&period;_]#

Return `true` if `lhs` and `rhs` have the same value, else `false`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlc/operator_eq-04d.adoc[operator&equals;&equals;](
    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&period;&period;&period;_]#

Return `true` if `lhs` and `rhs` have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_eq-080.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray&lt;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-080.adoc[_» more&period;&period;&period;_]#

Return `true` if `lhs` and `rhs` refer to the same position&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_eq-0a.adoc[operator&equals;&equals;](
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator&lt;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_eq-0a.adoc[_» more&period;&period;&period;_]#

== 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&hyphen;hand&hyphen;side index clerk
| *rhs*
| right&hyphen;hand&hyphen;side index clerk
|===


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