Versions Compared

Key

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

...

[ISO/IEC 14882-2014]

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

[Meyers 05]Item 8, "Prevent exceptions from leaving destructors"
[Sutter 00]"Never allow exceptions from escaping destructors or from an overloaded operator delete()"
[Henricson 97]Recommendation 12.5, "Do not let destructors called during stack unwinding throw exceptions"

 

...

Image Modified Image Modified