@@ -111,14 +111,6 @@ class long_int_t : public long_uint_t<native_t, size>
111111
112112
113113
114- // //////////////////////////////////////////////////////////////////////////////////////////////////
115- // is_signed_v
116- // //////////////////////////////////////////////////////////////////////////////////////////////////
117- template <typename native_t , uint_t size>
118- inline constexpr bool is_signed_v<long_int_t <native_t , size>> = true ;
119-
120-
121-
122114// //////////////////////////////////////////////////////////////////////////////////////////////////
123115// standalone methods
124116// //////////////////////////////////////////////////////////////////////////////////////////////////
@@ -466,7 +458,7 @@ constexpr long_int_t<native_t, size> long_int_t<native_t, size>::operator%(const
466458// standalone methods
467459// //////////////////////////////////////////////////////////////////////////////////////////////////
468460
469- template <typename type_t , typename native_t , uint_t size, std::enable_if_t <std:: is_unsigned_v<type_t > || std:: is_signed_v<type_t >, int > = 0 >
461+ template <typename type_t , typename native_t , uint_t size, std::enable_if_t <is_unsigned_v<type_t > || is_signed_v<type_t >, int > = 0 >
470462constexpr bool operator ==(type_t value1, const long_int_t <native_t , size>& value2) noexcept
471463{
472464 return long_int_t <native_t , size>(value1) == value2;
@@ -475,7 +467,7 @@ constexpr bool operator==(type_t value1, const long_int_t<native_t, size>& value
475467
476468
477469// //////////////////////////////////////////////////////////////////////////////////////////////////
478- template <typename type_t , typename native_t , uint_t size, std::enable_if_t <std:: is_unsigned_v<type_t > || std:: is_signed_v<type_t >, int > = 0 >
470+ template <typename type_t , typename native_t , uint_t size, std::enable_if_t <is_unsigned_v<type_t > || is_signed_v<type_t >, int > = 0 >
479471constexpr bool operator !=(type_t value1, const long_int_t <native_t , size>& value2) noexcept
480472{
481473 return long_int_t <native_t , size>(value1) != value2;
@@ -484,7 +476,7 @@ constexpr bool operator!=(type_t value1, const long_int_t<native_t, size>& value
484476
485477
486478// //////////////////////////////////////////////////////////////////////////////////////////////////
487- template <typename type_t , typename native_t , uint_t size, std::enable_if_t <std:: is_unsigned_v<type_t > || std:: is_signed_v<type_t >, int > = 0 >
479+ template <typename type_t , typename native_t , uint_t size, std::enable_if_t <is_unsigned_v<type_t > || is_signed_v<type_t >, int > = 0 >
488480constexpr bool operator <(type_t value1, const long_int_t <native_t , size>& value2) noexcept
489481{
490482 return long_int_t <native_t , size>(value1) < value2;
@@ -493,7 +485,7 @@ constexpr bool operator<(type_t value1, const long_int_t<native_t, size>& value2
493485
494486
495487// //////////////////////////////////////////////////////////////////////////////////////////////////
496- template <typename type_t , typename native_t , uint_t size, std::enable_if_t <std:: is_unsigned_v<type_t > || std:: is_signed_v<type_t >, int > = 0 >
488+ template <typename type_t , typename native_t , uint_t size, std::enable_if_t <is_unsigned_v<type_t > || is_signed_v<type_t >, int > = 0 >
497489constexpr bool operator <=(type_t value1, const long_int_t <native_t , size>& value2) noexcept
498490{
499491 return long_int_t <native_t , size>(value1) <= value2;
@@ -502,7 +494,7 @@ constexpr bool operator<=(type_t value1, const long_int_t<native_t, size>& value
502494
503495
504496// //////////////////////////////////////////////////////////////////////////////////////////////////
505- template <typename type_t , typename native_t , uint_t size, std::enable_if_t <std:: is_unsigned_v<type_t > || std:: is_signed_v<type_t >, int > = 0 >
497+ template <typename type_t , typename native_t , uint_t size, std::enable_if_t <is_unsigned_v<type_t > || is_signed_v<type_t >, int > = 0 >
506498constexpr bool operator >(type_t value1, const long_int_t <native_t , size>& value2) noexcept
507499{
508500 return long_int_t <native_t , size>(value1) > value2;
@@ -511,7 +503,7 @@ constexpr bool operator>(type_t value1, const long_int_t<native_t, size>& value2
511503
512504
513505// //////////////////////////////////////////////////////////////////////////////////////////////////
514- template <typename type_t , typename native_t , uint_t size, std::enable_if_t <std:: is_unsigned_v<type_t > || std:: is_signed_v<type_t >, int > = 0 >
506+ template <typename type_t , typename native_t , uint_t size, std::enable_if_t <is_unsigned_v<type_t > || is_signed_v<type_t >, int > = 0 >
515507constexpr bool operator >=(type_t value1, const long_int_t <native_t , size>& value2) noexcept
516508{
517509 return long_int_t <native_t , size>(value1) >= value2;
0 commit comments