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 ForwardIterator,
    EnableIfAtLeastForwardIterator<ForwardIterator> = 0>
iterator
insert(
    const_iterator pos,
    ForwardIterator first,
    ForwardIterator last);

Description

NOTE: this overload is for iterators that are "forward" category or better.

Return Value

An iterator to the first newly inserted element.

Parameters

Name

Description

pos

The position at which to insert.

first

An iterator to the beginning of the range.

last

An iterator past the end of the range.

Created with MrDocs