[#prevector-0c-reserve] = xref:prevector-0c.adoc[prevector]::reserve :relfileprefix: ../ :mrdocs: Ensures capacity for at least `new_capacity` elements without changing the size. == Synopsis Declared in `<prevector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reserve(xref:prevector-0c/size_type.adoc[size_type] new_capacity); ---- == Parameters [cols="1,4"] |=== | Name| Description | *new_capacity* | The minimum capacity to guarantee. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#