Quantity.opOpAssign

Overloaded operators. Only dimensionally correct operations will compile.

  1. void opOpAssign(Q other)
  2. void opOpAssign(T other)
    struct Quantity(N, Dimensions dims)
    void
    opOpAssign
    (
    string op
    T
    )
    ()
    if (
    isNumeric!T &&
    (
    op == "+" ||
    op == "-"
    )
    )
  3. void opOpAssign(Q other)
  4. void opOpAssign(T other)

Meta