[#BloombergLP-bdlcc-Queue-removeAll-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Queue.adoc[Queue]::removeAll
:relfileprefix: ../../../
:mrdocs:

Remove all items from this queue&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;queue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
removeAll();
----

== Description

Remove all the items in this queue&period; If the optionally specified `buffer` is not 0, load into `buffer` a copy of the items removed in front to back order of the queue prior to `removeAll`&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
