Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[ISO/IEC 14882-2014]15.2, "Constructors and Destructors"
[Meyers 96]Item 9: "Use destructors to prevent resource leaks".
[Stroustrup 2001]"Exception-Safe Implementation Techniques"
[Cline 2009]

17.2, "I'm still not convinced: a 4-line code snippet shows that return-codes aren't any worse than exceptions;
why should I therefore use exceptions on an application that is orders of magnitude larger?"

 Image Removed Image Removed Image Removed

...

Image Added Image Added Image Added