Item 8: Prevent exceptions from leaving destructors(Effective C++)
摘要:
Destructors should never emit exceptions. If functions called in a destructor may throw, the destructor should catch any exceptions, then swallow them or terminate the program.If class clients need ... 阅读全文
posted @ 2009-12-26 15:44 Ray Z 阅读(262) 评论(0) 推荐(0)
浙公网安备 33010602011771号