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

== Synopses

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:mp_units/AssociatedUnit.adoc[AssociatedUnit] U&gt;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
consteval
xref:mp_units/QuantitySpec.adoc[QuantitySpec] auto
xref:mp_units/get_quantity_spec-029.adoc[get&lowbar;quantity&lowbar;spec](U);
----

[.small]#xref:mp_units/get_quantity_spec-029.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Q,
    typename U&gt;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
consteval
xref:mp_units/QuantitySpec.adoc[QuantitySpec] auto
xref:mp_units/get_quantity_spec-00.adoc[get&lowbar;quantity&lowbar;spec](xref:mp_units/reference.adoc[reference&lt;Q, U&gt;]);
----

[.small]#xref:mp_units/get_quantity_spec-00.adoc[_» more&period;&period;&period;_]#


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