bsl::multiset::operator=

Assign to this object the contents of values.

Synopsis

Declared in <bslstl_multiset.h>

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

Description

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

Return Value

reference providing modifiable access to this multiset

Parameters

NameDescription
valuesinitializer list of elements to assign