Decrement operators
Declared in <mp-units/utility/constrained.h>
Pre-decrements the wrapped value.
constexpr
constrained&
operator--()
requires requires(T& v) {
{ --v } -> std::same_as<T&>;
};
» more...
Post-decrements the wrapped value.
constexpr
constrained<decltype(std::declval<T&>()--), ErrorPolicy>
operator--(int tag);
» more...
*this, after decrementingconstrained| Name | Description |
|---|---|
| tag | unused; disambiguates this postfix overload from the prefix operator--() |