Quantity.opBinaryRight

Overloaded operators. Only dimensionally correct operations will compile.

  1. auto opBinaryRight(T other)
  2. auto opBinaryRight(T other)
  3. auto opBinaryRight(T other)
    struct Quantity(N, Dimensions dims)
    const
    opBinaryRight
    (
    string op
    T
    )
    ()
    if (
    isNumeric!T &&
    (
    op == "/" ||
    op == "%"
    )
    )

Meta