Returns the kind of a quantity specification
Declared in <mp-units/framework/quantity_spec_conversion.h>
template<QuantitySpec Q>
[[nodiscard]]
consteval
/* implementation-defined */ auto
get_kind(Q q);
The kind is obtained by walking up to the root of the quantity's hierarchy tree.
| Name | Description |
|---|---|
| Q | quantity specification type |
| Name | Description |
|---|---|
| q | quantity specification value |