Remove all elements from this queue.

Synopsis

Declared in <bdlc_queue.h>

void
removeAll(bsl::vector<T>* buffer = 0);

Description

Remove all elements from this queue. If the optionally specified buffer is not 0, append to buffer a copy of each element removed (in front‐to‐back order of the elements in the queue prior to the invocation of this method).

Parameters

Name

Description

buffer

optional vector to receive copies of removed elements

Created with MrDocs