Symbol is the symbol of the unit prefix
. M is the factor of the unit prefix
. A specialization of
prefixed_unit is used as a base type when defining a unit prefix
. [
Example 1:
template<PrefixableUnit auto U>
struct kilo_ : prefixed_unit<"k", mag_power<10, 3>, U> {};
template<PrefixableUnit auto U>
constexpr kilo_<U> kilo;
inline constexpr auto kilogram = kilo<si::gram>;
—
end example]