Create an unordered set by moving the contents of the specified original.
Declared in <bslstl_unorderedset.h>
unordered_set(BloombergLP::bslmf::MovableRef<unordered_set> original);
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.
| Name | Description |
|---|---|
| original | source unordered set |