Insert into this multiset a newly‐created value_type object, constructed by forwarding get_allocator() (if required) and the specified (variable number of) args to the corresponding constructor of value_type. Return an iterator referring to the newly created and inserted object in this multiset. This method requires that the (template parameter) type KEY be emplace‐constructible from args (see {Requirements on KEY}).

Synopsis

Declared in <bslstl_multiset.h>

template<class... Args>
multiset<KEY, COMPARATOR, ALLOCATOR>::iterator
emplace(Args&&... args);

Created with MrDocs