Return the bucket index for the specified key.
Synopsis
Declared in <bslstl_hashtable.h>
HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR>::SizeType
bucketIndexForKey(KeyType const& key) const;
Description
Return the index of the bucket that would contain all the elements having the specified key.
Return Value
index of the bucket that would contain elements with key
Parameters
Name |
Description |
key |
key whose bucket index is returned |
Created with MrDocs