Remove all elements, appending them to buffer.
Declared in <bdlcc_deque.h>
void
removeAll(std::pmr::vector<TYPE>* buffer);
Append all the elements from this container to the specified *buffer in the same order, then clear this container. Note that the previous contents of *buffer are not discarded -- the removed items are appended to it.
| Name | Description |
|---|---|
| buffer | vector that receives the removed items |