[#mp_units-quantity-01-operator_star_eq-01]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/quantity-01.adoc[quantity]::operator&ast;&equals;
:relfileprefix: ../../
:mrdocs:

Multiplication assignment operators

== Synopses

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

Multiplication assignment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&sol;&ast; implementation-defined &ast;&sol; Q2&gt;
requires detail&colon;&colon;ScalarRepConvertible&lt;typename Q2&colon;&colon;rep, rep&gt; &amp;&amp; requires(rep&amp; a, const Q2&colon;&colon;rep b) &lcub;
      &lcub; a &ast;&equals; b &rcub; &hyphen;&gt; std&colon;&colon;same&lowbar;as&lt;rep&amp;&gt;&semi;
    &rcub;
constexpr
xref:mp_units/quantity-01.adoc[quantity]&
xref:mp_units/quantity-01/operator_star_eq-0d.adoc[operator&ast;&equals;](Q2 const& other) &amp;;
----

[.small]#xref:mp_units/quantity-01/operator_star_eq-0d.adoc[_» more&period;&period;&period;_]#

Multiplication assignment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&sol;&ast; implementation-defined &ast;&sol; Value&gt;
requires requires(rep&amp; a, const Value b) &lcub;
      &lcub; a &ast;&equals; b &rcub; &hyphen;&gt; std&colon;&colon;same&lowbar;as&lt;rep&amp;&gt;&semi;
    &rcub;
constexpr
xref:mp_units/quantity-01.adoc[quantity]&
xref:mp_units/quantity-01/operator_star_eq-0f.adoc[operator&ast;&equals;](Value const& val) &amp;;
----

[.small]#xref:mp_units/quantity-01/operator_star_eq-0f.adoc[_» more&period;&period;&period;_]#


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