Assign from the specified values initializer list.

Synopsis

Declared in <bslstl_unorderedmultiset.h>

unordered_multiset<KEY, HASH, EQUAL, ALLOCATOR>&
operator=(std::initializer_list<KEY> values);

Description

Assign to this object the value resulting from first clearing this unordered multiset 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) type KEY be copy‐insertable into this unordered multiset (see {Requirements on KEY}).

Return Value

reference providing modifiable access to this object

Parameters

Name

Description

values

initializer list of keys to assign

Created with MrDocs