insert overloads
Declared in <absl/container/linked_hash_map.h>
Inserts the elements of an initializer list into the map.
void
insert(std::initializer_list<value_type> ilist);
» more...
Inserts an element into the map.
std::pair<iterator, bool>
insert(value_type const& v);
» more...
Inserts an element via a node handle.
insert_return_type
insert(node_type&& node);
» more...
Inserts an element into the map.
std::pair<iterator, bool>
insert(value_type&& v);
» more...
Inserts an element into the map, ignoring the position hint.
iterator
insert(
const_iterator hint,
value_type const& v);
» more...
Inserts an element via a node handle, ignoring the position hint.
iterator
insert(
const_iterator hint,
node_type&& node);
» more...
Inserts an element into the map, ignoring the position hint.
iterator
insert(
const_iterator hint,
value_type&& v);
» more...
Inserts the elements of the range [first, last)] into the map.
template<class InputIt>
void
insert(
InputIt first,
InputIt last);
» more...
true if insertion took place.| Name | Description |
|---|---|
| ilist | The initializer list of elements to insert. |
| v | The value to insert. |
| node | The node handle holding the element to insert. |
| hint | A position hint, which is ignored. |
| first | An iterator to the first element to insert. |
| last | An iterator past the last element to insert. |