Created
February 26, 2017 15:06
-
-
Save stryku/84438ec725a21d1eac4b401e0ba3618b 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 sign, int current_val> | |
struct string_to_int_impl<string<>, sign, current_val> | |
{ | |
static constexpr auto value = sign * current_val; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment