[#bsl-unordered_set-0d2d-2constructor-013] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered_set]::unordered_set :relfileprefix: ../../ :mrdocs: Create an unordered set having the same value as the specified `original` object by moving (in constant time) the contents of `original` to the new set. Use a copy of `original.hash_function()` to generate hash values for the keys contained in this set. Use a copy of `original.key_eq()` to verify that two keys are equivalent. The allocator associated with `original` is propagated for use in the newly‐created set. `original` is left in a valid but unspecified state. == Synopsis Declared in `<bslstl_unorderedset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- unordered_set(xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<unordered_set>] original); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#