xte ::big_int <T >::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 U > [[nodiscard ]]explicit constexpr operator U ()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 );