[#bsl-vector-0aa9-2constructor-0b]
= xref:bsl.adoc[bsl]::xref:bsl/vector-0aa9.adoc[vector&lt;unsigned short&gt;]::vector
:relfileprefix: ../../
:mrdocs:

Create a vector having the same value as the specified `original` object that uses the specified `basicAllocator` to supply memory&period; This method requires that the (template parameter) type `VALUE&lowbar;TYPE` be `copy&hyphen;insertable` into this vector (see &lcub;Requirements on `VALUE&lowbar;TYPE`&rcub;)&period; Note that a `bslma&colon;&colon;Allocator &ast;` can be supplied for `basicAllocator` if the (template parameter) type `ALLOCATOR` is `bsl&colon;&colon;allocator` (the default)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
vector(
    xref:bsl/vector-00d.adoc[vector&lt;unsigned short&gt;] const& original,
    type&lowbar;identity&lt;allocator&lt;unsigned short&gt;&gt;::type const& basicAllocator);
----


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