News for hackers. Stuff that matters.
Re:Hardening the C++ Standard Library at scale by surajrmal on Sunday November 30, 2025 @12:39PM (#46098689)
I understand what you're saying but no major compiler does anything nefarious. They default initialize it. A lot of code depends on std::optional that was moved from returning false for is_valid for instance and no one would break that even if it's not guaranteed.

There are no comments on this comment yet.