[#bsl-unordered_set-0d2d-bucket_size] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered_set]::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 container. == Synopsis Declared in `<bslstl_unorderedset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_set-0d2d/size_type.adoc[unordered_set<KEY, HASH, EQUAL, ALLOCATOR>::size_type] bucket_size(xref:bsl/unordered_set-0d2d/size_type.adoc[size_type] index) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#