[#mp_units-operator_star-009]
= xref:mp_units.adoc[mp&lowbar;units]::operator&ast;
:relfileprefix: ../
:mrdocs:

Multiplication operator

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename FwdRep,
    xref:mp_units/Reference.adoc[Reference] R,
    xref:mp_units/RepresentationOf.adoc[RepresentationOf&lt;get&lowbar;quantity&lowbar;spec(R&lcub;&rcub;)&gt;] Rep = std::remove&lowbar;cvref&lowbar;t&lt;FwdRep&gt;&gt;
requires (!detail&colon;&colon;OffsetUnit&lt;decltype(get&lowbar;unit(R&lcub;&rcub;))&gt;)
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/quantity-01.adoc[quantity&lt;R&lcub;&rcub;, Rep&gt;]
operator&ast;(
    FwdRep&& lhs,
    R r);
----

== Return Value

A quantity

== Parameters

[cols=2]
|===
| Name
| Description
| *lhs*
| The left operand
| *r*
| The right operand
|===


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