[#bsl-unordered_map-02b-2constructor-03]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map]::unordered&lowbar;map
:relfileprefix: ../../
:mrdocs:

Create an unordered map having the same value, hasher, key&hyphen;equality comparator, and `max&lowbar;load&lowbar;factor` as the specified `original`&period; Use the allocator returned by &apos;bsl&colon;&colon;allocator&lowbar;traits&lt;ALLOCATOR&gt;&colon;&colon; select&lowbar;on&lowbar;container&lowbar;copy&lowbar;construction(original&period;get&lowbar;allocator())&apos; to supply memory&period; If the `ALLOCATOR` type is `bsl&colon;&colon;allocator` (the default), the currently installed default allocator is used to supply memory&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unordered&lowbar;map(xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map] const& original);
----


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