Same as the preceding overload, appending removed items to the specified buffer.
Declared in <bdlcc_timequeue.h>
void
popLE(
bsls::TimeInterval const& time,
std::vector<TimeQueueItem<DATA>>* buffer,
int* newLength = 0,
bsls::TimeInterval* newMinTime = 0);
| Name | Description |
|---|---|
| time | time threshold for removing items |
| buffer | receives the removed items |
| newLength | if non-null, receives the new queue length |
| newMinTime | if non-null, receives the new minimum time |