News for hackers. Stuff that matters.
Re:Ill-Advised C++ Rant, Part 2 by cousin_it on Tuesday March 08, 2016 @08:55AM (#11245194)
You can see the invalid state even without catch/recover, e.g. from destructors that are called during unwinding.
Re:Ill-Advised C++ Rant, Part 2 by Manishearth on Tuesday March 08, 2016 @01:48PM (#11247479)
Ah, I see. Right, that works in this case, but it doesn't work in all -- you can come up with a situation where the destructor is fine but the recovery can lead to arbitrary unsafe things.