Assignment operators

Synopses

Declared in <bslstl_map.h>

Assign to this map the value and comparator of rhs.

Move‐assign the contents of rhs into this map.

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