Same as the preceding overload, appending removed items to the specified buffer.

Synopsis

Declared in <bdlcc_timequeue.h>

void
popLE(
    bsls::TimeInterval const& time,
    std::vector<TimeQueueItem<DATA>>* buffer,
    int* newLength = 0,
    bsls::TimeInterval* newMinTime = 0);

Parameters

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

Created with MrDocs