[#bsl-unordered_multiset-06c-bucket-0a] = xref:bsl.adoc[bsl]::xref:bsl/unordered_multiset-06c.adoc[unordered_multiset]::bucket :relfileprefix: ../../ :mrdocs: Return the bucket index for the specified `key`. == Synopses Declared in `<bslstl_unorderedmultiset.h>` Return the bucket index for the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_multiset-06c/size_type.adoc[unordered_multiset<KEY, HASH, EQUAL, ALLOCATOR>::size_type] xref:bsl/unordered_multiset-06c/bucket-06.adoc[bucket](xref:bsl/unordered_multiset-06c/key_type.adoc[key_type] const& key) const; ---- [.small]#xref:bsl/unordered_multiset-06c/bucket-06.adoc[_» more..._]# Return the bucket index for the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/unordered_multiset-06c/size_type.adoc[size_type] xref:bsl/unordered_multiset-06c/bucket-05.adoc[bucket](LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- [.small]#xref:bsl/unordered_multiset-06c/bucket-05.adoc[_» more..._]# == 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]#