bucketIndexForKey overloads
Synopses
Declared in <bslstl_hashtable.h>
Return the bucket index for the specified key.
Return the bucket index for the specified transparent 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;
Return Value
-
index of the bucket that would contain elements with
key -
index of the bucket that would contain elements equivalent to
key
Parameters
Name |
Description |
key |
key whose bucket index is returned |
Created with MrDocs