Last active
March 29, 2017 07:25
-
-
Save stryku/dd4e1d638ca07a6e3cef6c2f1b5426bf 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
template <size_t ...rest_of_values> | |
struct starts_with_123_impl<values_container<1, 2, 3, rest_of_values...>> | |
{ | |
static constexpr bool value = true; | |
}; | |
template <size_t ...values> | |
struct starts_with_123_impl<values_container<values...>> | |
{ | |
static constexpr bool value = false; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment