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