摘要:
对于STL容器而言,并不直接支持这一特性(也就是:list<myint&> mylist), 即便用raw pointer(也就是普通的指针list<myint*> mylist)也不能完全解决这个问题, 通常的解决方法是使用smart pointer来替代普通的指针从而完全控制: construction,destruction,copying,assig... 阅读全文
posted @ 2010-03-13 23:58
Likwo
阅读(347)
评论(0)
推荐(0)