update overloads

Synopses

Declared in <bdlcc_timequeue.h>

Update the time value of the item having the specified handle to the specified newTime and optionally load into the optionally specified isNewTop a non‐zero value if the modified item is now the lowest time value in the time queue or zero otherwise. Return 0 on success, and a non‐zero value if there is currently no item having the handle registered with this time queue.

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

Same as the preceding overload, with the specified key.

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

Created with MrDocs