[#bsl-vector-086-reserve]
= xref:bsl.adoc[bsl]::xref:bsl/vector-086.adoc[vector&lt;VALUE&lowbar;TYPE*, ALLOCATOR&gt;]::reserve
:relfileprefix: ../../
:mrdocs:

Request that the capacity be at least the specified value&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reserve(xref:bsl/vector-086/size_type.adoc[size&lowbar;type] newCapacity);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *newCapacity*
| the `newCapacity` argument
|===


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