[#prevector-0c-resize]
= xref:prevector-0c.adoc[prevector]::resize
:relfileprefix: ../
:mrdocs:

Resizes the container to hold `new&lowbar;size` elements, value&hyphen;initializing any new ones&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *new&lowbar;size*
| The desired number of elements&period;
|===


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