absl::chunked_queue::resize

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

NameDescription
new_sizeThe new number of elements.