absl::InlinedVector::emplace

Constructs and inserts an element using args... in the inlined vector at pos, returning an iterator pointing to the newly emplaced element.

Synopsis

Declared in <absl/container/inlined_vector.h>

template<typename... Args>
iterator
emplace(
    const_iterator pos,
    Args&&... args);

Return Value

An iterator to the newly emplaced element.

Parameters

NameDescription
posThe position at which to emplace.
argsThe arguments used to construct the element.