Insert each element of values whose key is not already present.
Declared in <bslstl_unorderedmap.h>
void
insert(std::initializer_list<value_type> values);
Create a value_type object for each element in the specified values. Insert into this unordered map each such object whose key is not already contained. Note that this method requires that the (template parameter) types KEY and VALUE both be copy-constructible (see {Requirements on value_type}).
| Name | Description |
|---|---|
| values | initializer list of values to insert |