mp_units::utility::safe_int::operator++

Post-increments the wrapped value, reacting to ErrorPolicy on overflow.

Synopsis

Declared in <mp-units/utility/safe_int.h>

constexpr
safe_int
operator++(int tag);

Return Value

a copy of *this, before the increment

Parameters

NameDescription
tagunused tag parameter that distinguishes this postfix form from the prefix operator++()