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

A concept matching all quantities of the provided quantity spec

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Q,
    auto QS&gt;
concept QuantityOf = Quantity&lt;Q&gt; &amp;&amp; QuantitySpec&lt;MP&lowbar;UNITS&lowbar;REMOVE&lowbar;CONST(decltype(QS))&gt; &amp;&amp;
                     ReferenceOf&lt;MP&lowbar;UNITS&lowbar;NONCONST&lowbar;TYPE(Q&colon;&colon;reference), QS&gt;;
----

== Description

Satisfied by all quantities with the reference satisfying `ReferenceOf&lt;QS&gt;&period;`


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