[#mp_units-operator_star-02b] = xref:mp_units.adoc[mp_units]::operator* :relfileprefix: ../ :mrdocs: Multiplies a unit by a reference == Synopsis Declared in `<mp‐units/framework/reference.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] consteval /* implementation-defined */ operator*( U1 u1, xref:mp_units/reference-0b2.adoc[reference] r); ---- == Return Value a reference resulting from multiplying the quantity specification and the unit [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *u1* | the unit to multiply | *r* | the reference to multiply by |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#