Rational.opBinary

operator

  1. auto opBinary(Rational!U r)
  2. auto opBinary(U v)
    struct Rational(T)
    const
    opBinary
    (
    string op
    U
    )
    (
    in U v
    )
    if (
    isLikeInt!U
    &&
    !find(["+", "-", "*", "/", "%", "^^"], op).empty
    )
    if (
    isLikeInt!T &&
    !isFloatingPoint!T
    )

Meta