[#bsl-vector-0ea-2constructor-072]
= xref:bsl.adoc[bsl]::xref:bsl/vector-0ea.adoc[vector&lt;double&gt;]::vector
:relfileprefix: ../../
:mrdocs:

Create an empty vector&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is not specified, a default&hyphen;constructed object of the (template parameter) type `ALLOCATOR` is used&period; If the type `ALLOCATOR` is `bsl&colon;&colon;allocator` and `basicAllocator` is not supplied, the currently installed default allocator is used&period; Note that a `bslma&colon;&colon;Allocator &ast;` can be supplied for `basicAllocator` if the 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"]
----
explicit
vector(xref:bsl/allocator-0df.adoc[allocator&lt;double&gt;] const& basicAllocator) noexcept;
----


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