[#BloombergLP-bdlcc-StripedUnorderedMap-bucketIndex]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedMap.adoc[StripedUnorderedMap]::bucketIndex
:relfileprefix: ../../../
:mrdocs:

Return the bucket index where elements with `key` are inserted&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;stripedunorderedmap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
bucketIndex(KEY const& key) const;
----

== Description

Note that unless rehash is disabled, the value returned may be obsolete at the time it is returned&period;

== Return Value

the bucket index where elements with `key` are inserted

== Parameters

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


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