[#mp_units-operator_mod-0d]
= xref:mp_units.adoc[mp&lowbar;units]::operator%
:relfileprefix: ../
:mrdocs:

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    std::derived&lowbar;from&lt;quantity&gt; Q,
    xref:mp_units/RepresentationOf.adoc[RepresentationOf&lt;quantity&lowbar;spec&gt;] Value&gt;
requires detail&colon;&colon;DimensionlessOne&lt;Q&colon;&colon;reference&gt; &amp;&amp;
             detail&colon;&colon;InvokeResultOf&lt;quantity&lowbar;spec, std&colon;&colon;modulus&lt;&gt;, Rep, const Value&amp;&gt;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/Quantity.adoc[Quantity] auto
operator%(
    Value const& lhs,
    Q const& rhs);
----


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