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

Constructors

== Synopses

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

Create an empty `StripedUnorderedContainerImpl` object, a fully thread&hyphen;safe hash map where access is divided into &quot;stripes&quot; (a group of buckets protected by a reader&hyphen;write 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;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/2constructor-077.adoc[StripedUnorderedContainerImpl](
    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]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/2constructor-077.adoc[_» more&period;&period;&period;_]#

Create an empty `StripedUnorderedContainerImpl` object, a fully thread&hyphen;safe hash map where access is divided into &quot;stripes&quot; (a group of buckets protected by a reader&hyphen;write mutex)&period; Specify `maxLoadFactor` which defines the maximum ratio of elements to buckets&period; The behavior is undefined unless `maxLoadFactor &gt; 0`&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;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/2constructor-0f.adoc[StripedUnorderedContainerImpl](
    xref:BloombergLP/bdlcc/StripedUnorderedContainerImplMaxLoadFactorFlag.adoc[StripedUnorderedContainerImplMaxLoadFactorFlag],
    float maxLoadFactor = 1&period;0,
    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]#xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl/2constructor-0f.adoc[_» more&period;&period;&period;_]#


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