Versions Compared

Key

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

...

[Henricson 1997]Recommendation 12.5, Do not let destructors called during stack unwinding throw exceptions
[ISO/IEC 14882-2014]

Subclause 3.4.7.2, "Deallocation Functions"
Subclause 15.2, "Constructors and Destructors"
Subclause 15.3, "Handling an Exception"
Subclause 15.4, "Exception Specifications"

[Meyers 2005]Item 8, "Prevent Exceptions from Leaving Destructors"
[Sutter 2000]"Never allow exceptions from escaping destructors or from an overloaded operator delete()" (p. 29)

 

...

Image Modified Image Modified Image Modified