Item 28: Smart pointers.(More Effective C++)
摘要:
When you use smart pointers in place of C++'s built-in pointers (i.e., dumb pointers), you gain control over the following aspects of pointer behavior:Construction and destruction. You determine what happens when a smart pointer is created and destroyed. It is common to give smart pointers a def 阅读全文
posted @ 2012-03-15 14:33 Ray Z 阅读(241) 评论(0) 推荐(0)