[#bsl-unordered_map-0bf-2constructor-044]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_map-0bf.adoc[unordered&lowbar;map&lt;basic&lowbar;string&lt;char&gt;, Json, TransparentHash, TransparentEqualTo&gt;]::unordered&lowbar;map
:relfileprefix: ../../
:mrdocs:

Create an unordered map having the same value as the specified `original` object by moving (in constant time) the contents of `original` to the new unordered map&period; Use a copy of `original&period;hash&lowbar;function()` to generate hash values for the keys contained in this unordered map&period; Use a copy of `original&period;key&lowbar;eq()` to verify that two keys are equivalent&period; The allocator associated with `original` is propagated for use in the newly&hyphen;created unordered map&period; `original` is left in a valid but unspecified state&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;unorderedmap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unordered&lowbar;map(xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;unordered&lowbar;map&lt;basic&lowbar;string&lt;char&gt;, Json, TransparentHash, TransparentEqualTo&gt;&gt;] original);
----


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