[#BloombergLP-bdlcc-Deque-removeAll-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Deque.adoc[Deque]::removeAll
:relfileprefix: ../../../
:mrdocs:

`removeAll` overloads

== Synopses

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

Remove all elements from this container&period;


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

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

Remove all elements, appending them to `buffer`&period;


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

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

Remove all elements, appending them to `buffer`&period;


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

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

Remove all elements, appending them to `buffer`&period;


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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *buffer*
| vector that receives the removed items
|===


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