Insert each element of values whose key is not already present.
Synopsis
Declared in <bslstl_unorderedmap.h>
void
insert(std::initializer_list<value_type> values);
Description
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}).
Parameters
Name |
Description |
values |
initializer list of values to insert |
Created with MrDocs