Last active
March 31, 2016 09:47
-
-
Save ThePhD/b90a05e267ab96d219174535d93a9ea8 to your computer and use it in GitHub Desktop.
Wat.
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
| #include <utility> | |
| template<typename... Args> | |
| struct whatever { | |
| // uncomment to break stdlib | |
| //typedef std::index_sequence_for<Args...> name_doesnt_matter; | |
| }; | |
| #include <tuple> | |
| int main(){ | |
| // No effect: compiler bug? | |
| typedef std::index_sequence_for<int, int> x; | |
| std::tuple<const char*> r = std::tuple_cat(std::make_tuple("b")); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment