News for hackers. Stuff that matters.
Re:A bug in GCC that may cause memory leaks in valid C++ pro... by johncolanduoni on Thursday April 27, 2017 @08:27PM (#14215987)
You can do RAII without constructors (e.g. Rust)
Re:A bug in GCC that may cause memory leaks in valid C++ pro... by CamperBob2 on Thursday April 27, 2017 @09:51PM (#14216347)
Yep. There are any number of ways that C++ could have supported RAII without requiring either exceptions or a lot of unnecessary hacking, but they didn't.