bsl::multiset::operator=

Assignment operators

Synopses

Declared in <bslstl_multiset.h>

Assign to this object the value and comparator of rhs.

multiset<KEY, COMPARATOR, ALLOCATOR>&
operator=(multiset const& rhs);
» more...

Move-assign from the specified rhs object.

multiset<KEY, COMPARATOR, ALLOCATOR>&
operator=(BloombergLP::bslmf::MovableRef<multiset> rhs) noexcept(/* see-below */);
» more...

Assign to this object the contents of values.

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

Return Value

reference providing modifiable access to this multiset

Parameters

NameDescription
rhsmultiset to copy-assign from
valuesinitializer list of elements to assign