BloombergLP::bdlcc::TimeQueue::remove

Same as the preceding overload, with the specified key.

Synopsis

Declared in <bdlcc_timequeue.h>

int
remove(
    Handle handle,
    Key const& key,
    int* newLength = 0,
    bsls::TimeInterval* newMinTime = 0,
    TimeQueueItem<DATA>* item = 0);

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
handlehandle of the item to remove
keykey that must also match
newLengthif non-null, receives the new queue length
newMinTimeif non-null, receives the new minimum time
itemif non-null, receives the removed item