Multiplies two references
Synopsis
Declared in <mp‐units/framework/reference.h>
template<
typename Q2,
typename U2>
[[nodiscard]]
consteval
/* implementation-defined */
operator*(
reference r1,
reference<Q2, U2> r2);
|
Note
|
This function is a hidden friend of reference, declared only inside that class: it can be found only through argument-dependent lookup. |
Return Value
a reference resulting from multiplying the quantity specifications and the units
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
r1 |
the reference to multiply |
r2 |
the reference to multiply by |
Created with MrDocs