Emplace a newly constructed element at the specified position.
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...
iterator referring to the newly emplaced element
| Name | Description |
|---|---|
| position | element position or insertion point |
| arg | the arg argument |