[#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`. == Synopsis Declared in `<absl/container/inlined_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- InlinedVector( xref:absl/InlinedVector.adoc[InlinedVector]&& other, xref:absl/InlinedVector/allocator_type.adoc[allocator_type] const& allocator) noexcept(/* see-below */); ---- == Description NOTE: if `other`'s allocator is not equal to `allocator`, even if `other` contains allocated memory, this move constructor will still allocate. Since allocation is performed, this constructor can only be `noexcept` if the specified allocator is also `noexcept`. == Exception specification This function is potentially-throwing unless `absl::allocator_is_nothrow<allocator_type>::value`. == Parameters [cols="1,4"] |=== | Name| Description | *other* | The inlined vector to move from. | *allocator* | The allocator to use. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#