[#absl-chunked_queue-resize-05] = xref:absl.adoc[absl]::xref:absl/chunked_queue.adoc[chunked_queue]::resize :relfileprefix: ../../ :mrdocs: Resizes the container to contain `new_size` elements. == Synopsis Declared in `<absl/container/chunked_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void resize( xref:absl/chunked_queue/size_type.adoc[size_type] new_size, T const& value); ---- == Description If `new_size > size()`, additional copies of `value` are appended. If `new_size < size()`, elements are removed from the end. == Parameters [cols="1,4"] |=== | Name| Description | *new_size* | The new number of elements. | *value* | The value to copy into any appended elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#