Equality operators

Synopses

Declared in <bslalg_hashtableanchor.h>

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two bslalg::HashTableAnchor objects have the same value if all of the corresponding values of their bucketArrayAddress, bucketArraySize, and listRootAddress attributes are the same.

bool
operator==(
    HashTableAnchor const& lhs,
    HashTableAnchor const& rhs);

Return true if the specified hash table buckets lhs and rhs are equivalent and false otherwise.

bool
operator==(
    HashTableBucket const& lhs,
    HashTableBucket const& rhs);

Return true if the specified lhs iterator points to the same element in the same block as the specified rhs iterator, and false otherwise. The behavior is undefined unless lhs and rhs are iterators over the same deque. Note that this friend is a regular functon, not a function template, so there is no way to declare it outside the class in order to provide the definition.

bool
operator==(
    DequeIterator const& lhs,
    DequeIterator const& rhs);

Return true if the specified lhs and rhs iterators refer to the same element.

bool
operator==(
    DequeIterator const& lhs,
    DequeIterator const& rhs);

Created with MrDocs