[#bsl-unordered_multiset-06c-bucket-06] = xref:bsl.adoc[bsl]::xref:bsl/unordered_multiset-06c.adoc[unordered_multiset]::bucket :relfileprefix: ../../ :mrdocs: Return the bucket index for the specified `key`. == Synopsis Declared in `<bslstl_unorderedmultiset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_multiset-06c/size_type.adoc[unordered_multiset<KEY, HASH, EQUAL, ALLOCATOR>::size_type] bucket(xref:bsl/unordered_multiset-06c/key_type.adoc[key_type] const& key) const; ---- == Description 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. == Return Value index of the bucket for `key` == Parameters [cols="1,4"] |=== | Name| Description | *key* | key value whose bucket is requested |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#