mp_units::get_dimension¶
Synopses¶
Declared in <mp-units/framework/quantity_spec_definitions.h>
template<QuantitySpec QS>
[[nodiscard]] consteval Dimension auto get_dimension(QS qs);
template<QuantitySpec QS>
[[nodiscard]] consteval Dimension auto get_dimension(QS qs);
template<QuantitySpec QS>
[[nodiscard]] consteval Dimension auto get_dimension(QS qs);
Return Value¶
Note
The return value should not be discarded.