Insert each element from the specified values list.
Synopsis
Declared in <bdlc_flathashmap.h>
void
insert(bsl::initializer_list<value_type> values);
Description
Insert into this map an element having the value of each object in the specified values initializer list if a value with an equivalent key is not already contained in this map. This method requires that the (template parameter) type KEY be copy‐insertable (see {Requirements on KEY, HASH, and EQUAL}).
Parameters
Name |
Description |
values |
initializer list of key/value pairs to insert |
Created with MrDocs