BloombergLP::bdlcc::StripedUnorderedMap::bucketSize

Return the number of elements in the bucket at index.

Synopsis

Declared in <bdlcc_stripedunorderedmap.h>

std::size_t
bucketSize(std::size_t index) const;

Description

The behavior is undefined unless 0 <= index < bucketCount(). Note that unless rehash is disabled the value returned may be obsolete by the time it is returned.

Return Value

the number of elements in the bucket at index

Parameters

NameDescription
indexbucket index to query