bsl::unordered_map::unordered_map

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. Use a copy of original.hash_function() to generate hash values for the keys contained in this unordered map. 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 unordered map. original is left in a valid but unspecified state.

Synopsis

Declared in <bslstl_unorderedmap.h>

unordered_map(BloombergLP::bslmf::MovableRef<unordered_map> original);