BloombergLP::bslalg::HashTableImpUtil::bucketContainsLink

Return true if the specified linkAddress is the address of one of the links in the list of elements in the closed range [bucket.first(), bucket.last()].

Synopsis

Declared in <bslalg_hashtableimputil.h>

static
bool
bucketContainsLink(
    HashTableBucket const& bucket,
    BidirectionalLink* linkAddress);

Return Value

true if linkAddress is in the bucket's element range

Parameters

NameDescription
bucketbucket whose element range to search
linkAddresslink to test for membership in bucket