BloombergLP::bslstl::HashTable::bucketIndexForKey

bucketIndexForKey overloads

Synopses

Declared in <bslstl_hashtable.h>

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

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

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

template<class LOOKUP_KEY>
SizeType
bucketIndexForKey(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASHER,    LOOKUP_KEY>::value
   && BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,LOOKUP_KEY>::value;
» more...