2 ms·
> I can't make sense of modern C++ A lot of it is about making metaprogramming a lot easier to write and to read. No more enable_if kludges since if constexpr
by TuxSH 10mo ago
> I can't make sense of modern C++
A lot of it is about making metaprogramming a lot easier to write and to read.
No more enable_if kludges since if constexpr (and concepts for specific stuff); and using concepts allows to better communicate intent (e.g.: template<typename I> can become template<std::integral I> if you want the template to be used only with integer types, and so on)