Resizes the container to contain new_size elements.
Synopsis
Declared in <absl/container/chunked_queue.h>
void
resize(size_t new_size);
Description
If new_size > size(), additional default‐inserted elements are appended. If new_size < size(), elements are removed from the end.
Parameters
Name |
Description |
new_size |
The new number of elements. |
Created with MrDocs