Assign to this map the unique‐key elements of values.
Synopsis
Declared in <bslstl_map.h>
map<KEY, VALUE, COMPARATOR, ALLOCATOR>&
operator=(std::initializer_list<value_type> values);
Description
Assign to this object the value resulting from first clearing this map and then inserting each value_type object in the specified values initializer list, ignoring those objects having a key 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) types KEY and VALUE both be copy‐insertable into this map (see {Requirements on KEY and VALUE}).
Return Value
reference providing modifiable access to this map
Parameters
Name |
Description |
values |
initializer list of elements to assign |
Created with MrDocs