Multiplies a reference by a unit

Synopsis

Declared in <mp‐units/framework/reference.h>

[[nodiscard]]
consteval
/* implementation-defined */
operator*(
    reference r,
    U2 u2);

Return Value

a reference resulting from multiplying the quantity specification and the unit

Note

The return value should not be discarded.

Parameters

Name

Description

r

the reference to multiply

u2

the unit to multiply by

Created with MrDocs