[#mp_units-quantity_spec-0a0-operator_call-01]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/quantity_spec-0a0.adoc[quantity&lowbar;spec&lt;QS, Eq, Args&period;&period;&period;&gt;]::operator()
:relfileprefix: ../../
:mrdocs:

Function call operators

== Synopses

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Self,
    typename FwdQ,
    xref:mp_units/Quantity.adoc[Quantity] Q = std::remove&lowbar;cvref&lowbar;t&lt;FwdQ&gt;&gt;
requires (mp&lowbar;units&colon;&colon;explicitly&lowbar;convertible(Q&colon;&colon;quantity&lowbar;spec, Self&lcub;&rcub;)) &amp;&amp;
            requires &lcub; typename quantity&lt;make&lowbar;reference(Self&lcub;&rcub;, Q&colon;&colon;unit), typename Q&colon;&colon;rep&gt;&semi; &rcub;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/Quantity.adoc[Quantity] auto
xref:mp_units/quantity_spec-0a0/operator_call-00.adoc[operator()](this 
    Self,
    FwdQ&& q);
----

[.small]#xref:mp_units/quantity_spec-0a0/operator_call-00.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Self,
    typename FwdValue,
    xref:mp_units/RepresentationOf.adoc[RepresentationOf&lt;Self&lcub;&rcub;&gt;] Value = std::remove&lowbar;cvref&lowbar;t&lt;FwdValue&gt;&gt;
requires (detail&colon;&colon;explicitly&lowbar;convertible&lowbar;to&lowbar;dimensionless(Self&lcub;&rcub;))
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/Quantity.adoc[Quantity] auto
xref:mp_units/quantity_spec-0a0/operator_call-07.adoc[operator()](this 
    Self,
    FwdValue&& val);
----

[.small]#xref:mp_units/quantity_spec-0a0/operator_call-07.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Self,
    typename FwdQP,
    xref:mp_units/QuantityPoint.adoc[QuantityPoint] QP = std::remove&lowbar;cvref&lowbar;t&lt;FwdQP&gt;&gt;
requires (mp&lowbar;units&colon;&colon;explicitly&lowbar;convertible(QP&colon;&colon;quantity&lowbar;spec, Self&lcub;&rcub;)) &amp;&amp;
            requires &lcub; typename quantity&lowbar;point&lt;make&lowbar;reference(Self&lcub;&rcub;, QP&colon;&colon;unit), QP&colon;&colon;point&lowbar;origin, typename QP&colon;&colon;rep&gt;&semi; &rcub;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/QuantityPoint.adoc[QuantityPoint] auto
xref:mp_units/quantity_spec-0a0/operator_call-0f.adoc[operator()](this 
    Self self,
    FwdQP&& qp);
----

[.small]#xref:mp_units/quantity_spec-0a0/operator_call-0f.adoc[_» more&period;&period;&period;_]#


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