[#bsl-unordered_map-02b-bucket-0a] = xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered_map]::bucket :relfileprefix: ../../ :mrdocs: Return the bucket index for the specified `key`. == Synopsis Declared in `<bslstl_unorderedmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_map-02b/size_type.adoc[size_type] bucket(xref:bsl/unordered_map-02b/key_type.adoc[key_type] const& key) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#