tryPopBack overloads
Declared in <bdlcc_deque.h>
Remove up to maxNumItems from the back without blocking.
void
tryPopBack(size_type maxNumItems);
» more...
Try to remove the last item into *item without blocking.
int
tryPopBack(TYPE* item);
» more...
Remove up to maxNumItems from the back into buffer.
void
tryPopBack(
size_type maxNumItems,
bsl::vector<TYPE>* buffer);
» more...
Remove up to maxNumItems from the back into buffer.
void
tryPopBack(
size_type maxNumItems,
std::pmr::vector<TYPE>* buffer);
» more...
Remove up to maxNumItems from the back into buffer.
void
tryPopBack(
size_type maxNumItems,
std::vector<TYPE>* buffer);
» more...
0 on success, and a non-zero value if the container is empty
| Name | Description |
|---|---|
| maxNumItems | maximum number of items to remove |
| item | address at which to load the removed value |
| buffer | vector that receives the removed items |