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_REMOVE_CONST(decltype(D))> && (T{} == D);
Description
Satisfied when both argument satisfy a Dimension
concept and when they compare equal.
Created with MrDocs