Resizes the container to contain new_size elements.

Synopsis

Declared in <absl/container/chunked_queue.h>

void
resize(
    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

Name

Description

new_size

The new number of elements.

value

The value to copy into any appended elements.

Created with MrDocs