mp_units::utility::uncertain::uncertain¶
Constructs an uncertain value
Synopsis¶
Declared in <mp-units/utility/uncertain.h>
[[nodiscard]] constexpr explicit uncertain(value_type val, value_type err);
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| val | The central value |
| err | The absolute standard uncertainty (must be non-negative) |