Emplace a newly constructed element at the specified position.

Synopses

Declared in <bslstl_vector.h>

Emplace a newly constructed element at the specified position.

Emplace a newly constructed element at the specified position.

template<class ARG>
vector<VALUE_TYPE*, ALLOCATOR>::iterator
emplace(
    const_iterator position,
    ARG&& arg);

Return Value

iterator referring to the newly emplaced element

Parameters

Name

Description

position

element position or insertion point

arg

the arg argument

Created with MrDocs