Last active
March 26, 2017 18:41
-
-
Save stryku/6b1453f99c7e31757aef6e754c229570 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <int value, typename sign_str, char ...chars> | |
struct string_from_int_impl<value, sign_str, false, string<chars...>> | |
{ | |
using type = typename string_from_int_impl< | |
value/10, | |
sign_str, | |
value/10 == 0, | |
string<value % 10 + '0', chars...>>::type; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment