Function Quantity.opBinaryRight
Operator overloading
Quantity opBinaryRight(
string op, T)
(
T scalar
) const
if (isNumeric!T && (op == "+" || op == "-"));
Quantity opBinaryRight(
string op, T)
(
T scalar
) const
if (isNumeric!T && (op == "*"));
auto auto opBinaryRight(
string op, T)
(
T scalar
) const
if (isNumeric!T && (op == "/" || op == "%"));