Post B4mN0zdJQvUdHzpSBE by icon_of_computational_sin@mstdn.starnix.network
(DIR) More posts by icon_of_computational_sin@mstdn.starnix.network
(DIR) Post #B4mN0zdJQvUdHzpSBE by icon_of_computational_sin@mstdn.starnix.network
0 likes, 1 repeats
Starting with C++26, uninitialised reads are no longer undefined behaviour. Instead, reading from an uninitialised local variable will always result in the same value.https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2795r5.htmlJust a reminder that even if you remove the ++, the C-like subset of the language is still miles ahead of what backwards C-tards preach.