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

`removeAll` overloads

== Synopses

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

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;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/Queue/removeAll-03.adoc[removeAll]();
----

[.small]#xref:BloombergLP/bdlcc/Queue/removeAll-03.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, loading removed items into `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/Queue/removeAll-0a.adoc[removeAll](xref:bsl/vector-00d.adoc[bsl::vector&lt;TYPE&gt;]* buffer);
----

[.small]#xref:BloombergLP/bdlcc/Queue/removeAll-0a.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, loading removed items into `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/Queue/removeAll-0d.adoc[removeAll](std::pmr::vector&lt;TYPE&gt;* buffer);
----

[.small]#xref:BloombergLP/bdlcc/Queue/removeAll-0d.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, loading removed items into `buffer`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bdlcc/Queue/removeAll-0b.adoc[removeAll](std::vector&lt;TYPE&gt;* buffer);
----

[.small]#xref:BloombergLP/bdlcc/Queue/removeAll-0b.adoc[_» more&period;&period;&period;_]#


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