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).
buffer
Declared in <bdlc_queue.h>
<bdlc_queue.h>
void removeAll(bsl::vector<T>* buffer = 0);