Last active
July 8, 2020 21:23
-
-
Save picanumber/13a31c24352a9916ae1c7ecaf960f0f5 to your computer and use it in GitHub Desktop.
Usage example of the type index predicate
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
type_index<int, std::tuple<char, int, float>>::value; | |
// Our type^^^ is found at index ^^^ 1 of our tuple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment