BloombergLP::bdlc::operator==

Equality operators

Synopses

Declared in <bdlc_bitarray.h>

Return true if the specified a and b iterators are equal.

template<class ENTRY>
bool
operator==(
    FlatHashTable_IteratorImp<ENTRY> const& a,
    FlatHashTable_IteratorImp<ENTRY> const& b);
» more...

Return whether two sets have the same value.

template<
    class KEY,
    class HASH,
    class EQUAL>
bool
operator==(
    FlatHashSet<KEY, HASH, EQUAL> const& a,
    FlatHashSet<KEY, HASH, EQUAL> const& b);
» more...

Return whether the sets have the same contents.

template<>
bool
operator==(
    FlatHashSet const& a,
    FlatHashSet const& b);
» more...

Return true if the specified lhs and rhs index clerks have the same value, and false otherwise.

bool
operator==(
    IndexClerk const& lhs,
    IndexClerk const& rhs);
» more...

Return true if lhs and rhs have the same value, and false otherwise.

bool
operator==(
    IndexClerkIter const& lhs,
    IndexClerkIter const& rhs);
» more...

Return whether the specified queues have the same value.

template<class T>
bool
operator==(
    Queue<T> const& lhs,
    Queue<T> const& rhs);
» more...

Return whether lhs and rhs have the same value.

template<
    class KEY,
    class VALUE,
    class HASH,
    class EQUAL>
bool
operator==(
    FlatHashMap<KEY, VALUE, HASH, EQUAL> const& lhs,
    FlatHashMap<KEY, VALUE, HASH, EQUAL> const& rhs);
» more...

Return whether the maps have the same key/value contents.

template<>
bool
operator==(
    FlatHashMap const& lhs,
    FlatHashMap const& rhs);
» more...

Return true if the specified lhs and rhs objects have the same value, and false otherwise.

template<
    class KEY,
    class ENTRY,
    class ENTRY_UTIL,
    class HASH,
    class EQUAL>
bool
operator==(
    FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL> const& lhs,
    FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL> const& rhs);
» more...

Return whether the iterators refer to the same position (see free operator==).

template<>
bool
operator==<>(
    PackedIntArrayConstIterator const& lhs,
    PackedIntArrayConstIterator const& rhs);
» more...

Return whether the iterators refer to the same position.

template<>
bool
operator==<>(
    FlatHashTable_IteratorImp const& a,
    FlatHashTable_IteratorImp const& b);
» more...

Return true if the specified lhs and rhs arrays have the same value, and false otherwise.

template<class TYPE>
bool
operator==(
    CompactedArray<TYPE> const& lhs,
    CompactedArray<TYPE> const& rhs);
» more...

Return true if the values stored in lhs and rhs are equal.

template<class TYPE>
bool
operator==(
    CompactedArray_CountedValue<TYPE> const& lhs,
    CompactedArray_CountedValue<TYPE> const& rhs);
» more...

Return true if the specified lhs and rhs iterators are equal.

template<class TYPE>
bool
operator==(
    CompactedArray_ConstIterator<TYPE> const& lhs,
    CompactedArray_ConstIterator<TYPE> const& rhs);
» more...

Return whether the iterators refer to the same position (see free operator==).

template<>
bool
operator==(
    CompactedArray_ConstIterator const& lhs,
    CompactedArray_ConstIterator const& rhs);
» more...

Return true if lhs and rhs have the same value, else false.

bool
operator==(
    BitArray const& lhs,
    BitArray const& rhs);
» more...

Return true if lhs and rhs have the same value.

template<class TYPE>
bool
operator==(
    PackedIntArray<TYPE> const& lhs,
    PackedIntArray<TYPE> const& rhs);
» more...

Return true if lhs and rhs refer to the same position.

template<class TYPE>
bool
operator==(
    PackedIntArrayConstIterator<TYPE> const& lhs,
    PackedIntArrayConstIterator<TYPE> const& rhs);
» 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

NameDescription
afirst iterator to compare
bsecond iterator to compare
lhsleft-hand-side index clerk
rhsright-hand-side index clerk