Assignment operators
Synopses
Declared in <bslstl_map.h>
Assign to this map the value and comparator of rhs.
map<KEY, VALUE, COMPARATOR, ALLOCATOR>&
operator=(map const& rhs);
Move‐assign the contents of rhs into this map.
map<KEY, VALUE, COMPARATOR, ALLOCATOR>&
operator=(BloombergLP::bslmf::MovableRef<map> rhs) noexcept(/* see-below */);
Assign to this map the unique‐key elements of values.
map<KEY, VALUE, COMPARATOR, ALLOCATOR>&
operator=(std::initializer_list<value_type> values);
Return Value
reference providing modifiable access to this map
Parameters
Name |
Description |
rhs |
map to copy‐assign from |
values |
initializer list of elements to assign |
Created with MrDocs