[#bsl-unordered_set-0d2d-2constructor-013]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered&lowbar;set]::unordered&lowbar;set
:relfileprefix: ../../
:mrdocs:

Create an unordered set by moving the contents of the specified `original`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unordered&lowbar;set(xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;unordered&lowbar;set&gt;] original);
----

== Description

Use a copy of `original&period;hash&lowbar;function()` to generate hash values for the keys contained in this set&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 set&period; `original` is left in a valid but unspecified state&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| source unordered set
|===


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