[#mp_units-get_common_quantity_spec-01]
= xref:mp_units.adoc[mp&lowbar;units]::get&lowbar;common&lowbar;quantity&lowbar;spec
:relfileprefix: ../
:mrdocs:

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    xref:mp_units/QuantitySpec.adoc[QuantitySpec] Q1,
    xref:mp_units/QuantitySpec.adoc[QuantitySpec] Q2&gt;
requires (detail&colon;&colon;have&lowbar;common&lowbar;quantity&lowbar;spec(Q1&lcub;&rcub;, Q2&lcub;&rcub;))
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
consteval
xref:mp_units/QuantitySpec.adoc[QuantitySpec] auto
get&lowbar;common&lowbar;quantity&lowbar;spec(
    Q1,
    Q2);
----


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