Item 11:Prevent exceptions from leaving destructors.(More Effective C++)
摘要:
We thus find ourselves with two good reasons for keeping exceptions from propagating out of destructors. First, it prevents terminate from being called during the stack-unwinding part of exception propagation. Second, it helps ensure that destructors always accomplish everything they are suppose... 阅读全文
posted @ 2011-09-29 22:17 Ray Z 阅读(244) 评论(0) 推荐(0) 编辑