[#mp_units-scaled_unit] = xref:mp_units.adoc[mp_units]::scaled_unit :relfileprefix: ../ :mrdocs: Unit being a scaled version of another unit == Synopsis Declared in `<mp‐units/framework/unit.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< xref:mp_units/UnitMagnitude.adoc[UnitMagnitude] auto M, xref:mp_units/Unit.adoc[Unit] U> requires (M != detail::unit_magnitude<>{} && M != mag<1>) struct scaled_unit final : /* implementation-defined */ ---- == Base Classes [cols=2] |=== | Name | Description | `/* implementation-defined */` | |=== == Description [NOTE] ==== 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. ==== == Template Parameters [cols=2] |=== | Name | Description | *M* | magnitude describing the scale factor | *U* | reference unit being scaled |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#