absl::InlinedVector::insert

Overload of InlinedVector::insert(...) that inserts the range [first,] last) starting at pos, returning an iterator pointing to the first of the newly inserted elements.

Synopsis

Declared in <absl/container/inlined_vector.h>

template<
    typename InputIterator,
    DisableIfAtLeastForwardIterator<InputIterator> = 0>
iterator
insert(
    const_iterator pos,
    InputIterator first,
    InputIterator last);

Description

NOTE: this overload is for iterators that are "input" category.

Return Value

An iterator to the first newly inserted element.

Parameters

NameDescription
posThe position at which to insert.
firstAn iterator to the beginning of the range.
lastAn iterator past the end of the range.