BloombergLP::bslstl::HashTable::bucketIndexForKey

Return the index of the bucket that would contain all the elements having the specified key.

Synopsis

Declared in <bslstl_hashtable.h>

HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR>::SizeType
bucketIndexForKey(KeyType const& key) const;