Re:What can we learn from how compilers are designed?
by bstamour on Saturday March 17, 2018 @08:22AM
(#16606647)
Concepts are also C++20. They were voted in, however, shortly after 17 shipped.
[ Parent
| on HN ]
Re:What can we learn from how compilers are designed?
by stochastic_monk on Saturday March 17, 2018 @11:17AM
(#16607316)
Good point. I was thinking of the rudimentary, template-based use of concepts, not the polished, C++20 version.
Re:What can we learn from how compilers are designed?
by bstamour on Saturday March 17, 2018 @02:18PM
(#16608253)
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.