[#BloombergLP-bdlc-Queue-removeAll] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/Queue.adoc[Queue]::removeAll :relfileprefix: ../../../ :mrdocs: 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). == Synopsis Declared in `<bdlc_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void removeAll(xref:bsl/vector-00d.adoc[bsl::vector<T>]* buffer = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#