Complex.opBinaryRight

Returns the result of a binary operation with a right-hand operand of type R, converted to Complex of the common type.

  1. Complex!(CommonType!(T, R)) opBinaryRight(R rhs)
  2. Complex!(CommonType!(T, R)) opBinaryRight(R rhs)
    struct Complex(T)
    scope const
    Complex!(CommonType!(T, R))
    opBinaryRight
    (
    string op : "-"
    R
    )
    (
    const R rhs
    )
    if (
    isNumeric!R
    )
    if (
    is(T == float) ||
    is(T == double)
    ||
    is(T == real)
    )
  3. Complex!(CommonType!(T, R)) opBinaryRight(R rhs)
  4. Complex!(CommonType!(T, R)) opBinaryRight(R rhs)