mp_units::utility::safe_int::operator--

Post-decrements 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 decrement

Parameters

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