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

If the optionally specified `buffer` is non&hyphen;zero, append all the elements from this container to `&ast;buffer` in the same order, then, regardless of whether `buffer` is zero, 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;

== Synopsis

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

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


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