update overloads
Declared in <bdlcc_timequeue.h>
Update the time of the item having the specified handle to newTime.
int
update(
Handle handle,
bsls::TimeInterval const& newTime,
int* isNewTop = 0);
» more...
Same as the preceding overload, with the specified key.
int
update(
Handle handle,
Key const& key,
bsls::TimeInterval const& newTime,
int* isNewTop = 0);
» more...
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| handle | handle of the item to update |
| newTime | new time value for the item |
| isNewTop | if non-null, set if the item is now the lowest |
| key | key that must also match |