What to do if a failed destructor can't throw an exception

Posted by skydoor on Stack Overflow See other posts from Stack Overflow or by skydoor
Published on 2010-03-16T18:14:46Z Indexed on 2010/03/16 18:21 UTC
Read the original article Hit count: 139

Filed under:

Hi, I noticed that you can't throw an exception in a destructor. So my question is what should I do if destructor fails.

Another question is, under what situation a destructor might fail?

Thanks so much

© Stack Overflow or respective owner

Related posts about c++