Assigns the wrapped value to its remainder with respect to rhs.
Declared in <mp-units/utility/constrained.h>
constexpr
constrained&
operator%=(constrained const& rhs)
requires requires(T& a, const T b) {
{ a %= b } -> std::same_as<T&>;
};
a reference to *this, after the modulo operation
| Name | Description |
|---|---|
| rhs | the divisor |