[#bsl-hash_set-elems_in_bucket]
= xref:bsl.adoc[bsl]::xref:bsl/hash_set.adoc[hash&lowbar;set]::elems&lowbar;in&lowbar;bucket
:relfileprefix: ../../
:mrdocs:

Return the number of elements in the specified bucket&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;hashset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/hash_set/size_type.adoc[size&lowbar;type]
elems&lowbar;in&lowbar;bucket(xref:bsl/hash_set/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n) const;
----

== Return Value

number of elements in the specified bucket

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;n*
| bucket index
|===


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