[#prevector-01-reserve]
= xref:prevector-01.adoc[prevector&lt;36, unsigned char&gt;]::reserve
:relfileprefix: ../
:mrdocs:

Ensures capacity for at least `new&lowbar;capacity` elements without changing the size&period;

== Synopsis

Declared in `&lt;prevector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reserve(xref:prevector-01/size_type.adoc[size&lowbar;type] new&lowbar;capacity);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *new&lowbar;capacity*
| The minimum capacity to guarantee&period;
|===


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