I would like to add another view on such implementation details.
My small source code examples show only that specific destructors were not called after a exception was thrown. The tested behaviour fits to rules of the C++ programming language. http://www.parashift.com/c++-faq/overview-dtors.html
Can it be that the value of a corresponding resource release operation is occasionally underestimated?
(Pointers will not be reset to the safe value "nullptr" for example which might result in unwanted effects if affected pointers were passed around in the software for other uses.)
I would like to add another view on such implementation details.
My small source code examples show only that specific destructors were not called after a exception was thrown. The tested behaviour fits to rules of the C++ programming language. www.parashift. com/c++ -faq/overview- dtors.html
http://
I dare to point out this: How important is it for you to give each object the chance to perform its last task before deletion? www.cprogrammin g.com/tutorial/ constructor_ destructor_ ordering. html
http://
Can it be that the value of a corresponding resource release operation is occasionally underestimated?
(Pointers will not be reset to the safe value "nullptr" for example which might result in unwanted effects if affected pointers were passed around in the software for other uses.)