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

Pre-decrements the wrapped value, reacting to ErrorPolicy on overflow.

Synopsis

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

constexpr
safe_int&
operator--();

Return Value

a reference to *this, after the decrement