bsl::multimap::operator=

Assign to this multimap the elements of values.

Synopsis

Declared in <bslstl_multimap.h>

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

Description

Assign to this object the value resulting from first clearing this multimap and then inserting each value_type object in the specified values initializer list, and 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 multimap (see {Requirements on KEY and VALUE}).

Return Value

reference providing modifiable access to this multimap

Parameters

NameDescription
valuesinitializer list of elements to assign