Creates an inlined vector with elements constructed from the provided forward iterator range [first, last).]
Declared in <absl/container/inlined_vector.h>
template<
typename ForwardIterator,
EnableIfAtLeastForwardIterator<ForwardIterator> = 0>
InlinedVector(
ForwardIterator first,
ForwardIterator last,
allocator_type const& allocator = allocator_type());
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.
| Name | Description |
|---|---|
| first | An iterator to the beginning of the range. |
| last | An iterator past the end of the range. |
| allocator | The allocator to use. |