On 8/24/2018 12:31 AM, Shachar Shemesh wrote:
If you're willing to have an error raised by a destructor abort the whole program, isn't the C++ solution preferable (abort the program only on double errors, which hardly ever happens)?
C++ has changed: https://akrzemi1.wordpress.com/2013/08/20/noexcept-destructors/