Assignment operators
Synopses
Declared in <bdlc_flathashmap.h>
Assign to this object the value, hasher, and equality functor of the specified rhs object, and return a reference providing modifiable access to this object.
FlatHashMap<KEY, VALUE, HASH, EQUAL>&
operator=(FlatHashMap const& rhs);
Assign to this object the value, hasher, and equality comparator of the specified rhs object, and return a reference providing modifiable access to this object. If this object and rhs use the same allocator the contents of rhs are moved (in constant time) to this object. rhs is left in a (valid) unspecified state.
Assign to this object the value resulting from first clearing this map and then inserting each object in the specified values initializer list, ignoring those objects having a value whose key is equivalent to that which appears earlier in the list; return a reference providing modifiable access to this object. This method requires that the (template parameter) type KEY be copy‐insertable into this map (see {Requirements on KEY, HASH, and EQUAL}).
FlatHashMap<KEY, VALUE, HASH, EQUAL>&
operator=(bsl::initializer_list<value_type> values);
Created with MrDocs