[#bsl-unordered_multiset-06c-bucket-05]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_multiset-06c.adoc[unordered&lowbar;multiset]::bucket
:relfileprefix: ../../
:mrdocs:

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&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;unorderedmultiset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
xref:bsl/unordered_multiset-06c/size_type.adoc[size&lowbar;type]
bucket(LOOKUP&lowbar;KEY const& key) const
requires BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;HASH, LOOKUP&lowbar;KEY&gt;&colon;&colon;value
        &amp;&amp; BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;EQUAL,LOOKUP&lowbar;KEY&gt;&colon;&colon;value;
----

== Description

Note&colon; implemented inline due to Sun CC compilation error&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
