ProAnswers.org

How can I handle a destructor that fails?

I dont know exactly. But do not throw an exception. The C++ rule is that you must never throw an exception from a destructor that is being called during the “stack unwinding” process of another exception.