[#bsl-unordered_map-02b-bucket_size] = xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered_map]::bucket_size :relfileprefix: ../../ :mrdocs: Return the number of elements contained in the bucket at the specified `index` in the array of buckets maintained by this unordered map. The behavior is undefined unless `index < bucket_count()`. == Synopsis Declared in `<bslstl_unorderedmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_map-02b/size_type.adoc[size_type] bucket_size(xref:bsl/unordered_map-02b/size_type.adoc[size_type] index) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#