Specialization defining a leaf derived quantity in the hierarchy with a refined equation
Declared in <mp-units/framework/quantity_spec_definitions.h>
template<
/* implementation-defined */ auto QS,
/* implementation-defined */ auto Eq,
/* implementation-defined */ auto Args...>
requires (mp_units::explicitly_convertible(Eq, QS))
struct quantity_spec<QS, Eq, Args...>
: /* implementation-defined */
| Name | Description |
|---|---|
/* implementation-defined */ |
| Name | Description |
|---|---|
_base_type_ | The base type used to detect specializations of quantity_spec |
| Name | Description |
|---|---|
operator() | Function call operators |
operator[] |
| Name | Description |
|---|---|
_character_ | The character of the quantity, derived from the equation unless overriden in Args |
_dimension_ | The dimension inherited from the parent quantity specification |
_equation_ | The derived quantity equation this specification refines |
_is_non_negative_ | Whether quantities of this specification can never hold a negative value |
_parent_ | The parent quantity specification this leaf was derived from |
character [deprecated] | Deprecated accessor for character; use get_character(qs) instead |
dimension [deprecated] | Deprecated accessor for dimension; use get_dimension(qs) instead |