Increment operators
Declared in <mp-units/utility/safe_int.h>
Pre-increments the wrapped value, reacting to ErrorPolicy on overflow.
constexpr
safe_int&
operator++();
» more...
Post-increments the wrapped value, reacting to ErrorPolicy on overflow.
constexpr
safe_int
operator++(int tag);
» more...
*this, after the increment*this, before the increment| Name | Description |
|---|---|
| tag | unused tag parameter that distinguishes this postfix form from the prefix operator++() |