Raises a quantity to a given power.
Because the exponent must be known at compile-time (to determine the unit of the result), overloading the ^^ operator for quantities is not possible.
auto area = pow!2(5 * metre);
See Implementation
Raises a quantity to a given power.
Because the exponent must be known at compile-time (to determine the unit of the result), overloading the ^^ operator for quantities is not possible.