BloombergLP::bslalg::operator==

Return whether two HashTableAnchor objects have the same value.

Synopsis

Declared in <bslalg_hashtableanchor.h>

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

Description

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.

Return Value

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

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand