Checked.opBinaryRight

Defines binary operators +, -, *, /, %, ^^, &, |, ^, <<, >>, and >>> for the case when a built-in numeric or Boolean type is on the left-hand side, and a Checked instance is on the right-hand side.

  1. auto opBinaryRight(Lhs lhs)
  2. auto opBinaryRight(Lhs lhs)
    struct Checked(T, Hook = Abort)
    const
    opBinaryRight
    (
    string op
    Lhs
    )
    (
    const Lhs lhs
    )
    if (
    is(Lhs == bool)
    )
    if (
    is(T == Checked!(U, H),
    U
    H
    )
    )

Parameters

op

The binary operator

lhs Lhs

The left hand side operand

Return Value

Type: auto

A Checked instance representing the result of the binary operation

Meta