<mp-units/framework/unit.h>
template<
UnitMagnitude auto M,
Unit U>
requires (M != detail::unit_magnitude<>{} && M != mag<1>)
struct scaled_unit final
: /* implementation-defined */
Name | Description |
---|---|
/* implementation-defined */ |
User should not instantiate this type! It is not exported from the C++ module. The library will instantiate this type automatically based on the unit arithmetic equation provided by the user.
Name | Description |
---|---|
M | magnitude describing the scale factor |
U | reference unit being scaled |