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

Name

Description

index

bucket index to query

Created with MrDocs