mp_units::DimensionOf¶
A concept checking if the argument is of the same dimension.
Synopsis¶
Declared in <mp-units/framework/dimension_concepts.h>
template<typename T, auto D>
concept DimensionOf = Dimension<T> && Dimension<MP_UNITS_NTTP_TYPE(D)> && (T{} == D);
Description¶
Satisfied when both argument satisfy a Dimension concept and when they compare equal.