[#mp_units-DimensionOf]
= xref:mp_units.adoc[mp&lowbar;units]::DimensionOf
:relfileprefix: ../
:mrdocs:

A concept checking if the argument is of the same dimension&period;

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;framework&sol;dimension&lowbar;concepts&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T,
    auto D&gt;
concept DimensionOf = Dimension&lt;T&gt; &amp;&amp; Dimension&lt;MP&lowbar;UNITS&lowbar;REMOVE&lowbar;CONST(decltype(D))&gt; &amp;&amp; (T&lcub;&rcub; &equals;&equals; D);
----

== Description

Satisfied when both argument satisfy a `Dimension` concept and when they compare equal&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
