bsl::unordered_multimap::insert

Insert value and return an iterator to the new element.

Synopsis

Declared in <bslstl_unorderedmultimap.h>

unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>::iterator
insert(value_type const& value);

Description

Insert the specified value into this unordered multimap, 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 copy-insertable into this unordered multimap (see {Requirements on KEY and VALUE}).

Return Value

iterator referring to the newly inserted element

Parameters

NameDescription
valueelement to insert