Hacker News new | past | comments | ask | show | jobs | submit login

Concepts are also C++20. They were voted in, however, shortly after 17 shipped.



Good point. I was thinking of the rudimentary, template-based use of concepts, not the polished, C++20 version.


Ah gotcha. Yes in the current situation we can do nearly everything that the concepts proposal for C++20 does with enable_if, void_t, and a few other helpers. Though concepts have the benefit of letting you "say what you mean", instead of relying on template magic.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: