Modulus operator
Declared in <mp-units/safe_int.h>
[[nodiscard]]
constexpr
safe_int</* implementation-defined */, ErrorPolicy>
operator%(
safe_int lhs,
constrained<U, CP> rhs);
Wraps an integral type with overflow detection.
| Name | Description |
|---|---|
| lhs | The left operand |
| rhs | The right operand |