absl::InlinedVector::insert

Overload of InlinedVector::insert(...) that inserts n contiguous copies of v starting at pos, returning an iterator pointing to the first of the newly inserted elements.

Synopsis

Declared in <absl/container/inlined_vector.h>

iterator
insert(
    const_iterator pos,
    size_type n,
    const_reference v);

Return Value

An iterator to the first newly inserted element.

Parameters

NameDescription
posThe position at which to insert.
nThe number of copies to insert.
vThe value to copy.