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.
Declared in <bdlcc_deque.h>
void
removeAll();