Erases all elements from the container.

Synopsis

Declared in <absl/container/chunked_queue.h>

void
clear();

Description

Note: Leaves one empty block allocated as an optimization. To free all memory, call shrink_to_fit() after calling clear().

Created with MrDocs