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