Item 17: Store newed objects in smart pointers in standalone statements.(Effective C++)
摘要:
Store newed objects in smart pointers in standalone statements. Failure to do this can lead to subtle resource leaks when exceptions are thrown. 阅读全文
posted @ 2011-03-23 21:52 Ray Z 阅读(203) 评论(0) 推荐(0) 编辑