[#absl-FixedArray-2constructor-0d]
= xref:absl.adoc[absl]::xref:absl/FixedArray.adoc[FixedArray]::FixedArray
:relfileprefix: ../../
:mrdocs:

Creates an array initialized with the elements from the input range&period;

== Synopsis

Declared in `&lt;absl&sol;container&sol;fixed&lowbar;array&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Iterator,
    xref:absl/FixedArray.adoc[EnableIfInputIterator&lt;Iterator&gt;]* = nullptr&gt;
FixedArray(
    Iterator first,
    Iterator last,
    xref:absl/FixedArray/allocator_type.adoc[allocator&lowbar;type] const& a = allocator&lowbar;type());
----

== Description

The array&apos;s size will always be `std&colon;&colon;distance(first, last)`&period; REQUIRES&colon; Iterator must be an input&lowbar;iterator or better&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *first*
| Iterator to the first element to copy&period;
| *last*
| Iterator past the last element to copy&period;
| *a*
| The allocator to use&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
