xte ::big_int ::operator typename ()
Defined in header <xte/math/big_int.hpp> Definitions
#0Casts to an arithmetic type. Prevents undefined behavior from signed integer wrapping.template <xte ::is_arithmetic T > [[nodiscard ]]explicit constexpr operator T ()const noexcept ;
#1
Returns[[nodiscard ]]explicit constexpr operator bool ()const noexcept ;
false if the big-integer is zero, otherwise true .Example
[View in Compiler Explorer]static_assert (static_cast <int >(xte ::big_int (123 )) ==123 );