Raises a unit instance to a given power.
Because the exponent must be known at compile-time (as the type of the result depends on it), overloading the ^^ operator for units.
enum squareMetre = pow!2(metre);
See Implementation
Raises a unit instance to a given power.
Because the exponent must be known at compile-time (as the type of the result depends on it), overloading the ^^ operator for units.