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

Resize the deque to be exactly size size (adding default&hyphen;constructed elements if needed)&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *size*
| The desired number of elements&period; Elements are added or removed at the back&period;
|===


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