xte ::big_int ::operator+= ()
Defined in header <xte/math/big_int.hpp> Definitions
#0Addsconstexpr xte ::big_int & operator+= (const xte ::big_int & rhs )& noexcept (false );
rhs to the big-integer. May throw if allocation fails.#1
Addsconstexpr xte ::big_int & operator+= (xte ::big_int && rhs )& noexcept (false );
rhs to the big-integer. lhs is destructively moved-from. May throw if allocation fails.Example
Output:constexpr auto u64_max =18446744073709551615ull ;xte ::big_int n =u64_max ;n +=u64_max ;std ::println ("{}" ,n );
[View in Compiler Explorer]36893488147419103230