]> code.bitgloo.com Git - clyne/constexpr-to-string.git/commitdiff
Changed other base instance to signed
authorclyne <clyne@bitgloo.com>
Sat, 27 Jun 2020 23:13:18 +0000 (19:13 -0400)
committerGitHub <noreply@github.com>
Sat, 27 Jun 2020 23:13:18 +0000 (19:13 -0400)
to_string.hpp

index e7eef932f91466a064948f60048d7433c3345d31..eb363f049ae1a107b4eb7c9e514d33fafed28c13 100644 (file)
@@ -68,7 +68,7 @@ class to_string_t {
 /**
  * Simplifies use of `to_string_t` from `to_string_t<N>()` to `to_string<N>`.
  */
-template<auto N, unsigned int base = 10, typename char_type = char>
+template<auto N, int base = 10, typename char_type = char>
 constexpr to_string_t<N, base, char_type> to_string;
 
 #endif // TCSULLIVAN_TO_STRING_HPP_