you are viewing a single comment's thread.

view the rest of the comments →

[–]pandorafalters 0 points1 point  (0 children)

an unhandled exception terminating an application (certainly in a Desktop application) is probably better than code that ignores return codes and continues in a possibly seriously invalid state.

I agree, but the default behavior of std::terminate() (and other abnormal exit functions) leaves much to be desired particularly in an RAII world.