News for hackers. Stuff that matters.
Re:We used C++20 to eliminate a class of runtime bugs by flumpcakes on Friday January 14, 2022 @04:26PM (#29940673)
One of the most interesting changes to me is how much they are pushing metaprogramming into the language itself _without_ a lot of the traditional annotations that went with TMP before.

For example, annotating a parameter with 'auto' instead of the typename T preamble.

Re:We used C++20 to eliminate a class of runtime bugs by ncmncm on Friday January 14, 2022 @04:33PM (#29940734)
Template metaprogramming was always known as a hack, no more so than among people obliged to do it. Most of the things it was used for are now done with core language facilities designed for the job, and coded in compiled C++ instead of interpreted template flailing, so fast.