bsl::vector<VALUE_TYPE*, ALLOCATOR>::emplace

Emplace a newly constructed element at the specified position.

Synopses

Declared in <bslstl_vector.h>

Emplace a newly constructed element at the specified position.

vector<VALUE_TYPE*, ALLOCATOR>::iterator
emplace(const_iterator position);
» more...

Emplace a newly constructed element at the specified position.

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

Return Value

iterator referring to the newly emplaced element

Parameters

NameDescription
positionelement position or insertion point
argthe arg argument