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

A concept matching all references of the provided quantity spec

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T,
    auto QS&gt;
concept ReferenceOf = Reference&lt;T&gt; &amp;&amp; QuantitySpecOf&lt;decltype(get&lowbar;quantity&lowbar;spec(T&lcub;&rcub;)), QS&gt;;
----

== Description

Satisfied by all references for which `QuantitySpecOf&lt;QS&gt;` is true&period;


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