int main() { static_assert(std::is_same::value); static_assert(std::is_same::value); static_assert(std::is_same::value); }
James Wright
so this is like... C++ version of pattern matching on lists?
Eli Gray
If you're too much of a brainlet to understand such a simple metalanguage then maybe you should leave programming to the Indians and women.
Asher Scott
BEAUTIFUL
Josiah Hughes
>2018 >being confused by template templates what's difficult to understand
Brody Lewis
Gimme a break dude, no one needs to know this stuff outside of a few niche areas.
Brayden Taylor
>metaprogramming is "niche" yeah man fuck lisp what a piece of shit language no one ever accompished anything by writing that
Ian Gutierrez
The hilarious part is that, if something is wrong in this, the error message would be way less readable than some macro expansion error.
>If you're too much of a brainlet to understand why macros/full compile time execution would have been an infinitely better solution for C++ than "advanced" template metaprogramming, metaclasses etc. combined then maybe you should leave the C++ standard cumittee. FTFY