BaseUnitExp

A pair of a (base) unit and a compile-time rational exponent.

Multiple BaseUnitExps make up a DerivedUnit.

@safe
struct BaseUnitExp (
B
R
) if (
!isDerivedUnit!B &&
isUnit!B
&&
isRational!R
) {}

Meta