diff --git a/include/duckhandy/int_conv.hpp b/include/duckhandy/int_conv.hpp index a975341..3498ccf 100644 --- a/include/duckhandy/int_conv.hpp +++ b/include/duckhandy/int_conv.hpp @@ -42,7 +42,7 @@ namespace dhandy { template struct int_info { static_assert(Base > 1, "Invalid base"); - static const constexpr bool always_unsigned = (Base == 16 or Base == 2); + static const constexpr bool always_unsigned = (Base == 16 or Base == 2 or Base == 36); static const constexpr bool is_signed = std::numeric_limits::is_signed and not always_unsigned; static const constexpr std::size_t max_len = max_digit_count, I>::type, Base> + is_signed; };