absl::InlinedVector::InlinedVector

Creates an inlined vector with elements constructed from the provided forward iterator range [first, last).]

Synopsis

Declared in <absl/container/inlined_vector.h>

template<
    typename ForwardIterator,
    EnableIfAtLeastForwardIterator<ForwardIterator> = 0>
InlinedVector(
    ForwardIterator first,
    ForwardIterator last,
    allocator_type const& allocator = allocator_type());

Description

NOTE: the enable_if prevents ambiguous interpretation between a call to this constructor with two integral arguments and a call to the above InlinedVector(size_type, const_reference) constructor.

Parameters

NameDescription
firstAn iterator to the beginning of the range.
lastAn iterator past the end of the range.
allocatorThe allocator to use.