News for hackers. Stuff that matters.
Re:The C++20 Naughty and Nice List for Game Devs by nemetroid on Monday December 25, 2023 @12:53PM (#38764551)
Initialization in C++ is already a mess. Making one of the core behaviours (members are initialized in declaration order) work subtly different for this case would make it even more difficult for the programmer to build a correct mental model.

From what I can tell, the snippet you posted would compile fine in C++20 mode.

There are no comments on this comment yet.