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

Creates an inlined vector by moving in the contents of `other` with a copy of `allocator`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
InlinedVector(
    xref:absl/InlinedVector.adoc[InlinedVector]&& other,
    xref:absl/InlinedVector/allocator_type.adoc[allocator&lowbar;type] const& allocator) noexcept(&sol;&ast; see-below &ast;&sol;);
----

== Description

NOTE&colon; if `other`&apos;s allocator is not equal to `allocator`, even if `other` contains allocated memory, this move constructor will still allocate&period; Since allocation is performed, this constructor can only be `noexcept` if the specified allocator is also `noexcept`&period;

== Exception specification

This function is potentially-throwing unless `absl&colon;&colon;allocator&lowbar;is&lowbar;nothrow&lt;allocator&lowbar;type&gt;&colon;&colon;value`.

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The inlined vector to move from&period;
| *allocator*
| The allocator to use&period;
|===


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