3 ms·
I came here to say the whole [2003] bit like everyone else, but it's worth noting how recent some of the "haha now c++ is better and this article no longer appl
by glangdale 6y ago
I came here to say the whole [2003] bit like everyone else, but it's worth noting how recent some of the "haha now c++ is better and this article no longer applies" changes are. C++ Concepts only made it into the standard in 2020.
- flqn 6y agoConcepts are a recent addition, but not the only one that has improved compile-time or static programming in C++. The `constexpr` specifier, for instance, was added in C++11 and with every release since then it's been able to replace more and more complicated template metaprograms with just regular C++ code. Other things like generic lambdas and return type deduction also serve to make template-heavy code simpler to both write and read.