mp_units::operator*¶
Multiplication operator
Synopsis¶
Declared in <mp-units/framework/unit_definitions.h>
template<typename FwdQ, Reference R, Quantity Q = std::remove_cvref_t<FwdQ>>
[[nodiscard]] constexpr Quantity auto operator*(FwdQ&& q, R rhs);
Note
This function is a hidden friend of one, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| q | The left operand |
| rhs | The right operand |