Insert a copy of value into this multiset.
Synopsis
Declared in <bslstl_multiset.h>
multiset<KEY, COMPARATOR, ALLOCATOR>::iterator
insert(value_type const& value);
Description
Insert the specified value into this multiset. If a range containing elements equivalent to value already exists, insert the value at the end of that range. Return an iterator referring to the newly inserted value_type object. This method requires that the (template parameter) type KEY be copy‐insertable into this multiset (see {Requirements on KEY}).
Return Value
iterator referring to the newly inserted element
Parameters
Name |
Description |
value |
element to insert |
Created with MrDocs