[#BloombergLP-bdlcc-StripedUnorderedMultiMap-2constructor-094]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedMultiMap.adoc[StripedUnorderedMultiMap]::StripedUnorderedMultiMap
:relfileprefix: ../../../
:mrdocs:

Create an empty `StripedUnorderedMultiMap` object, a fully thread&hyphen;safe hash map where access is partitioned into &quot;stripes&quot; (a group of buckets protected a reader&hyphen;writer mutex)&period; Optionally specify `numInitialBuckets` and `numStripes` which define the minimum number of buckets and the (fixed) number of stripes in this map&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period; The hash map has rehash enabled&period; Note that the number of stripes will not change after construction, but the number of buckets may (unless rehashing is disabled via `disableRehash`)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
StripedUnorderedMultiMap(
    std::size&lowbar;t numInitialBuckets = k&lowbar;DEFAULT&lowbar;NUM&lowbar;BUCKETS,
    std::size&lowbar;t numStripes = k&lowbar;DEFAULT&lowbar;NUM&lowbar;STRIPES,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


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