removeAll overloads
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.
void
removeAll();
» more...
Same as the preceding overload, appending removed items to buffer.
void
removeAll(bsl::vector<TYPE>* buffer);
» more...
Same as the preceding overload, appending removed items to buffer.
void
removeAll(std::pmr::vector<TYPE>* buffer);
» more...
Same as the preceding overload, appending removed items to buffer.
void
removeAll(std::vector<TYPE>* buffer);
» more...