Remove all elements, appending them to 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 |