[#absl-InlinedVector-2constructor-08]
= xref:absl.adoc[absl]::xref:absl/InlinedVector.adoc[InlinedVector]::InlinedVector
:relfileprefix: ../../
:mrdocs:

Creates an inlined vector with `n` copies of `value&lowbar;type()`&period;

== Synopsis

Declared in `&lt;absl&sol;container&sol;inlined&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
InlinedVector(
    xref:absl/InlinedVector/size_type.adoc[size&lowbar;type] n,
    xref:absl/InlinedVector/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *n*
| The number of elements to create&period;
| *allocator*
| The allocator to use&period;
|===


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