Adds a safe_int to a constrained value
Declared in <mp-units/utility/safe_int.h>
[[nodiscard]]
constexpr
safe_int</* implementation-defined */, ErrorPolicy>
operator+(
safe_int lhs,
constrained<U, CP> rhs);
the wrapped sum of the underlying values
The return value should not be discarded.
| Name | Description |
|---|---|
| lhs | the safe_int to add |
| rhs | the constrained value to add |