[#bsl-unordered_multimap-0b0-bucket-00f]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_multimap-0b0.adoc[unordered&lowbar;multimap]::bucket
:relfileprefix: ../../
:mrdocs:

Return the bucket index for the specified `key`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/unordered_multimap-0b0/size_type.adoc[unordered&lowbar;multimap&lt;KEY, VALUE, HASH, EQUAL, ALLOCATOR&gt;::size&lowbar;type]
bucket(xref:bsl/unordered_multimap-0b0/key_type.adoc[key&lowbar;type] const& key) const;
----

== Return Value

index of the bucket for `key`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| key whose bucket index is returned
|===


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