Division operator
Declared in <mp-units/utility/safe_int.h>
[[nodiscard]]
constexpr
safe_int<detail::integral_op_result_t<T, U>, ErrorPolicy>
operator/(
safe_int lhs,
U rhs);
Wraps an integral type with overflow detection.
The return value should not be discarded.
| Name | Description |
|---|---|
| lhs | The left operand |
| rhs | The right operand |