Rational.opUnary

operator

  1. typeof(this) opUnary()
    struct Rational(T)
    const
    typeof(this)
    opUnary
    (
    string op
    )
    ()
    if (
    !find(["-", "+"], op).empty
    )
    if (
    isLikeInt!T &&
    !isFloatingPoint!T
    )
  2. typeof(this) opUnary()

Meta