The OpenD Programming Language

mir_series.tryGetLastUpdateKey

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

  1. bool tryGetLastUpdateKey(Index lowerBound, Index upperBound, Value val)
  2. bool tryGetLastUpdateKey(Index lowerBound, Index upperBound, Value val)
    struct mir_series(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous)
    bool
    tryGetLastUpdateKey
    (
    Index
    Value
    )
    (,
    ref Index upperBound
    ,
    scope ref Value val
    )
  3. bool tryGetLastUpdateKey(Index lowerBound, Index upperBound, Value val)

Return Value

Type: bool

true on success.

Meta