摘要: STL中的智能指针(Smart Pointer)及其源码剖析: std::auto_ptr auto_ptr 是STL中的智能指针家族的成员之一, 它管理由 new expression 获得的对象,在 auto_ptr 对象销毁时,他所管理的对象也会自动被 delete 掉。auto_ptr 的拷 阅读全文
posted @ 2017-02-20 12:22 杨领well 阅读(52) 评论(0) 推荐(0)