Creates an array initialized with the elements from the input range.
Declared in <absl/container/fixed_array.h>
template<
typename Iterator,
EnableIfInputIterator<Iterator>* = nullptr>
FixedArray(
Iterator first,
Iterator last,
allocator_type const& a = allocator_type());
The array's size will always be std::distance(first, last). REQUIRES: Iterator must be an input_iterator or better.
| Name | Description |
|---|---|
| first | Iterator to the first element to copy. |
| last | Iterator past the last element to copy. |
| a | The allocator to use. |