The OpenD Programming Language

Lab.opBinary

Binary operators.

  1. typeof(this) opBinary(typeof(this) rh)
  2. typeof(this) opBinary(S rh)
    struct Lab(F = float, alias whitePoint_ = (WhitePoint!F.D50))
    @safe pure nothrow @nogc const
    typeof(this)
    opBinary
    (
    string op
    S
    )
    (
    S rh
    )
    if (
    (
    op == "*" ||
    op == "/"
    ||
    op == "%"
    ||
    op == "^^"
    )
    )

Meta