bsl::map::operator=

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}).

Synopsis

Declared in <bslstl_map.h>

map<KEY, VALUE, COMPARATOR, ALLOCATOR>&
operator=(std::initializer_list<value_type> values);