xte ::big_int <T >::operator-- ()
Defined in header <xte/math/big_int.hpp> Definitions
#0Decrements the big-integer by one. May throw if allocation fails.constexpr xte ::big_int <T >& operator-- ()& noexcept (false );
#1
Decrements the big-integer by one, and returns the previous value. May throw if allocation fails.constexpr xte ::big_int <T >operator-- (int )& noexcept (false );
Example
Output:xte ::big_int n = -9223372036854775807 -1 ; --n ;std ::println ("{}" ,n );
[View in Compiler Explorer]-9223372036854775809