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);
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);
Return whether the sets have the same contents.
template<>
bool
operator==(
FlatHashSet const& a,
FlatHashSet const& b);
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);
Return true if lhs and rhs have the same value, and false otherwise.
bool
operator==(
IndexClerkIter const& lhs,
IndexClerkIter const& rhs);
Return whether the specified queues have the same value.
template<class T>
bool
operator==(
Queue<T> const& lhs,
Queue<T> const& rhs);
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);
Return whether the maps have the same key/value contents.
template<>
bool
operator==(
FlatHashMap const& lhs,
FlatHashMap const& rhs);
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);
Return whether the iterators refer to the same position (see free operator==).
template<>
bool
operator==<>(
PackedIntArrayConstIterator const& lhs,
PackedIntArrayConstIterator const& rhs);
Return whether the iterators refer to the same position.
template<>
bool
operator==<>(
FlatHashTable_IteratorImp const& a,
FlatHashTable_IteratorImp const& b);
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);
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);
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);
Return whether the iterators refer to the same position (see free operator==).
template<>
bool
operator==(
CompactedArray_ConstIterator const& lhs,
CompactedArray_ConstIterator const& rhs);
Return true if lhs and rhs have the same value, else false.
bool
operator==(
BitArray const& lhs,
BitArray const& rhs);
Return true if lhs and rhs have the same value.
template<class TYPE>
bool
operator==(
PackedIntArray<TYPE> const& lhs,
PackedIntArray<TYPE> const& rhs);
Return true if lhs and rhs refer to the same position.
template<class TYPE>
bool
operator==(
PackedIntArrayConstIterator<TYPE> const& lhs,
PackedIntArrayConstIterator<TYPE> const& rhs);
Return Value
-
trueif the iterators are equal, andfalseotherwise -
trueifaandbhave the same value, andfalseotherwise -
trueif equal, andfalseotherwise -
trueiflhsandrhshave the same value, andfalseotherwise -
trueiflhsandrhshave the same value, andfalseotherwise -
trueif the iterators refer to the same position, andfalseotherwise -
trueif the arrays have the same value, andfalseotherwise -
trueif the values are equal, andfalseotherwise -
trueif the iterators refer to the same position, andfalseotherwise
Parameters
Name |
Description |
a |
first iterator to compare |
b |
second iterator to compare |
lhs |
left‐hand‐side index clerk |
rhs |
right‐hand‐side index clerk |
Created with MrDocs