Unit being a scaled version of another unit
Declared in <mp-units/framework/unit_definitions.h>
template<
UnitMagnitude auto M,
Unit U>
requires (M != mag<1>)
struct scaled_unit final
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 |
|---|
_base_type_ |
| Name |
|---|
_mag_ |
_reference_unit_ |
| Name | Description |
|---|---|
cubic | |
equivalent | |
get_quantity_spec | |
get_unit | |
square |
| Name | Description |
|---|---|
| M | magnitude describing the scale factor |
| U | reference unit being scaled |