Copy‐assign from rhs.

Synopsis

Declared in <bslstl_unorderedmap.h>

unordered_map&
operator=(unordered_map const& rhs);

Description

Assign to this object the value, hasher, key‐equality functor, and max_load_factor of the specified rhs object, propagate to this object the allocator of rhs if the ALLOCATOR type has trait propagate_on_container_copy_assignment, and return a reference providing modifiable access to this object. Note that this method requires that the (template parameter) types KEY and VALUE both be copy‐constructible (see {Requirements on value_type}).

Return Value

a reference providing modifiable access to this object

Parameters

Name

Description

rhs

unordered map to copy from

Created with MrDocs