[#absl-chunked_queue-resize-09]
= xref:absl.adoc[absl]::xref:absl/chunked_queue.adoc[chunked&lowbar;queue]::resize
:relfileprefix: ../../
:mrdocs:

Resizes the container to contain `new&lowbar;size` elements&period;

== Synopsis

Declared in `&lt;absl&sol;container&sol;chunked&lowbar;queue&period;h&gt;`

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

== Description

If `new&lowbar;size &gt; size()`, additional default&hyphen;inserted elements are appended&period; If `new&lowbar;size &lt; size()`, elements are removed from the end&period;

== Parameters

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


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