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