BloombergLP::bdlcc::StripedUnorderedContainerImpl::bucketIndex

Return the bucket index where elements with key are inserted.

Synopsis

Declared in <bdlcc_stripedunorderedcontainerimpl.h>

std::size_t
bucketIndex(KEY const& key) const;

Description

Note that unless rehash is disabled, the value returned may be obsolete at the time it is returned.

Return Value

the bucket index where elements with key are inserted

Parameters

NameDescription
keykey whose bucket index is requested