folly::small_vector::emplace

Construct a new element in place before a position.

Synopsis

Declared in <folly/container/small_vector.h>

template<class... Args>
iterator
emplace(
    const_iterator p,
    Args&&... args);

Return Value

An iterator to the newly constructed element.

Parameters

NameDescription
pIterator to the position to insert before.
argsArguments forwarded to the element's constructor.