News for hackers. Stuff that matters.
Re:We used C++20 to eliminate a class of runtime bugs by beached_whale on Friday January 14, 2022 @05:28PM (#29941378)
Generally in C++ one should use Type name = Type( args... ) style to be the least surprising. Prior to C++20 that would be aggregates. It's really too bad that initializer_list gets special treatment, and it's universally wart in C++. The alternative would have been vector{ { 1,2,3} } and that would have been fine.

There are no comments on this comment yet.