mp_units::utility::operator*¶
Multiplication by an exact scalar
Synopsis¶
Declared in <mp-units/utility/uncertain.h>
[[nodiscard]] constexpr uncertain operator*(uncertain const& lhs, auto const& value);
Note
This function is a hidden friend of uncertain, declared only inside that class: it can be found only through argument-dependent lookup.
Description¶
NOTE
The scalar is treated as exact (no uncertainty). Formula: σf = |k| × σx
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| lhs | The left operand |
| value | The right operand |