[#mp_units-DimensionOf] = xref:mp_units.adoc[mp_units]::DimensionOf :relfileprefix: ../ :mrdocs: A concept checking if the argument is of the same dimension. == Synopsis Declared in `<mp‐units/framework/dimension_concepts.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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. [.small]#Created with https://www.mrdocs.com[MrDocs]#