| Home |
Concepts |
Types |
A unit 1 consists of a measurement_system,
a dimension
and a conversion_factor.
value |
type |
notes |
u |
U |
|
u1 |
U1 |
|
u2 |
U2 |
|
n |
rational number |
|
b |
bool |
|
operation |
result |
requires |
notes |
u1 * u2 |
u |
same_measurement_system(u1 , u2) |
|
u1 / u2 |
u |
same_measurement_system(u1 , u2) |
|
u1 ^ n |
u |
|
|
u1 == u2 |
b |
|
|
u1 != u2 |
b |
|
|
alias_template |
returns |
get_simple_dimension< U > |
Ds |
get_measurement_system< U > |
Sm |
get_dimension< U > |
D |
get_conversion_factor< U > |
C |
inline_bool_constant |
value |
notes |
impl::is_unit_impl< U > |
true |
Implies that U meets the requirements below |