bsl::multimap::operator=

Assignment operators

Synopses

Declared in <bslstl_multimap.h>

Assign to this multimap the value and comparator of rhs.

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

Move-assign the contents of rhs into this multimap.

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

Assign to this multimap the elements of values.

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

Return Value

reference providing modifiable access to this multimap

Parameters

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