Create an unordered set having the same value as the specified original object. 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. Use the allocator returned by `bsl::allocator_traits<ALLOCATOR>:: select_on_container_copy_construction(original.get_allocator())` to allocate memory. This method requires that the (template parameter) type KEY be copy‐insertable into this set (see {Requirements on KEY}).

Synopsis

Declared in <bslstl_unorderedset.h>

unordered_set(unordered_set<Attribute, AttributeHash> const& original);

Created with MrDocs