2 ms·
Read this: [1] In C++11, exceptions in destructors have defined semantics, but those semantics are very complicated. Prior to C++11, the semantics were not wel
by Animats 10y ago
Read this: [1] In C++11, exceptions in destructors have defined semantics, but those semantics are very complicated. Prior to C++11, the semantics were not well defined.
[1] https://akrzemi1.wordpress.com/2011/09/21/destructors-that-throw/ https://akrzemi1.wordpress.com/2011/09/21/destructors-that-t...