Throw.onLowerBound

Called automatically upon a bounds error.

  1. T onLowerBound(Rhs rhs, T bound)
    struct Throw
    static
    T
    onLowerBound
    (
    Rhs
    T
    )
    (
    Rhs rhs
    ,)
  2. T onUpperBound(Rhs rhs, T bound)

Parameters

rhs Rhs

The right-hand side value in the assignment, after the operator has been evaluated

bound T

The value of the bound being violated

Return Value

Type: T

Nominally the result is the desired value of the operator, which will be forwarded as result. For Throw, the function never returns because it throws.

Meta

Suggestion Box / Bug Report