[#VecDeque-reserve]
= xref:VecDeque.adoc[VecDeque]::reserve
:relfileprefix: ../
:mrdocs:

Increase the capacity to capacity&period; Capacity will not shrink&period;

== Synopsis

Declared in `&lt;util&sol;vecdeque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reserve(size&lowbar;t capacity);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *capacity*
| The minimum capacity to allocate for&period;
|===


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