Created
February 23, 2017 21:16
-
-
Save stryku/4ea33bbe3ddf5d3f994efc00c131be69 to your computer and use it in GitHub Desktop.
This file contains 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
namespace details | |
{ | |
template <typename str> | |
struct to_string_impl; | |
template <char ...chars> | |
struct to_string_impl<string<chars...>> | |
{ | |
using type = string<chars...>; | |
}; | |
} | |
template <typename s> | |
using to_string = typename details::to_string_impl<s>::type; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment