[#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 `<bdlcc_deque.h>` If the optionally specified `buffer` is non‐zero, append all the elements from this container to `*buffer` in the same order, then, regardless of whether `buffer` is zero, clear this container. Note that the previous contents of `*buffer` are not discarded ‐‐ the removed items are appended to it. [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..._]# Same as the preceding overload, appending removed items to `buffer`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlcc/Deque/removeAll-0e.adoc[removeAll](xref:bsl/vector-00d.adoc[bsl::vector<TYPE>]* buffer); ---- [.small]#xref:BloombergLP/bdlcc/Deque/removeAll-0e.adoc[_» more..._]# Same as the preceding overload, appending removed items to `buffer`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlcc/Deque/removeAll-08.adoc[removeAll](std::pmr::vector<TYPE>* buffer); ---- [.small]#xref:BloombergLP/bdlcc/Deque/removeAll-08.adoc[_» more..._]# Same as the preceding overload, appending removed items to `buffer`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlcc/Deque/removeAll-0a.adoc[removeAll](std::vector<TYPE>* buffer); ---- [.small]#xref:BloombergLP/bdlcc/Deque/removeAll-0a.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#