Insert a value_type constructed from value.
Declared in <bslstl_unorderedmultimap.h>
template<class ALT_VALUE_TYPE>
iterator
insert(ALT_VALUE_TYPE&& value)
requires std::is_constructible<value_type,
ALT_VALUE_TYPE&&>::value;
Insert into this unordered multimap a value_type object created from the specified value, and return an iterator referring to the newly inserted value_type object. This method requires that the (template parameter) types KEY and VALUE both be move-insertable into this unordered multimap (see {Requirements on KEY and VALUE}), and the value_type be constructible from the (template parameter) ALT_VALUE_TYPE.
iterator referring to the newly inserted element
| Name | Description |
|---|---|
| value | source used to construct the inserted element |