Return the bucket index for the specified key.
Declared in <bslstl_unorderedmultiset.h>
unordered_multiset<KEY, HASH, EQUAL, ALLOCATOR>::size_type
bucket(key_type const& key) const;
Return the index of the bucket, in the array of buckets of this container, where a value equivalent to the specified key would be inserted.
index of the bucket for key
| Name | Description |
|---|---|
| key | key value whose bucket is requested |