[#bsl-vector-0a33-2constructor-056]
= xref:bsl.adoc[bsl]::xref:bsl/vector-0a33.adoc[vector&lt;long&gt;]::vector
:relfileprefix: ../../
:mrdocs:

Create a vector having the same value as the specified `original` object by moving (in constant time) the contents of `original` to the new vector&period; The allocator associated with `original` is propagated for use in the newly&hyphen;created vector&period; `original` is left in a valid but unspecified state&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
vector(xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;vector&lt;long&gt;&gt;] original) noexcept;
----


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