The OpenD Programming Language

mir_series.tryGetPrevUpdateKey

Tries to get the last value, such that key_i <= key. Updates key with key_i.

  1. bool tryGetPrevUpdateKey(Index key, Value val)
    struct mir_series(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous)
    @trusted
    bool
    tryGetPrevUpdateKey
    (
    Index
    Value
    )
    (
    scope ref Index key
    ,
    scope ref Value val
    )
  2. bool tryGetPrevUpdateKey(Index key, Value val)
  3. bool tryGetPrevUpdateKey(Index key, Value val)

Return Value

Type: bool

true on success.

Meta