The OpenD Programming Language

Throw.onLowerBound

Called automatically upon a bounds error.

struct Throw
static
T
onLowerBound
(
Rhs
T
)
(
Rhs rhs
,)

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.

Throws

CheckFailure on overflow

Meta