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

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
removeAll(std::pmr::vector&lt;TYPE&gt;* buffer);
----

== Description

Append all the elements from this container to the specified `&ast;buffer` in the same order, then clear this container&period; Note that the previous contents of `&ast;buffer` are not discarded &hyphen;&hyphen; the removed items are appended to it&period;

== Parameters

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


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