insert overloads
Synopses
Declared in <bslstl_unorderedmultimap.h>
Insert each element from the values initializer list.
void
insert(std::initializer_list<value_type> values);
Insert value and return an iterator to the new element.
Insert a value_type constructed from value.
Insert value near hint and return an iterator to it.
Insert each element in the half‐open range [first, last)].
template<class INPUT_ITERATOR>
void
insert(
INPUT_ITERATOR first,
INPUT_ITERATOR last);
Insert a value_type constructed from value near hint.
template<class ALT_VALUE_TYPE>
iterator
insert(
const_iterator hint,
ALT_VALUE_TYPE&& value)
requires std::is_constructible<value_type,
ALT_VALUE_TYPE&&>::value;
Return Value
iterator referring to the newly inserted element
Parameters
Name |
Description |
values |
initializer list of elements to insert |
value |
element to insert |
hint |
iterator hint for insertion position |
first |
beginning of the insert range |
last |
end of the insert range (one past last) |
Created with MrDocs