| 1605 | }; |
| 1606 | template <typename T> |
| 1607 | struct integer_traits_base : integer_limits<T> |
| 1608 | { |
| 1609 | using native_type = int64_t; |
| 1610 | static constexpr bool is_native = std::is_same_v<T, native_type>; |
| 1611 | static constexpr bool is_signed = static_cast<T>(-1) < T{}; // for impls not specializing std::is_signed<T> |
| 1612 | static constexpr auto type = node_type::integer; |
| 1613 | static constexpr bool can_partially_represent_native = true; |
| 1614 | }; |
| 1615 | template <typename T> |
| 1616 | struct unsigned_integer_traits : integer_traits_base<T> |
| 1617 | { |
nothing calls this directly
no outgoing calls
no test coverage detected