BloombergLP::bdlcc::TimeQueue::update

Same as the preceding overload, with the specified key.

Synopsis

Declared in <bdlcc_timequeue.h>

int
update(
    Handle handle,
    Key const& key,
    bsls::TimeInterval const& newTime,
    int* isNewTop = 0);

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
handlehandle of the item to update
keykey that must also match
newTimenew time value for the item
isNewTopif non-null, set if the item is now the lowest