auto_ptr个人用 1.assign operator和copy method会传递ownership 2.可以使用const 修饰。传递ownership会报错。并且可以更改指向的值 3. posted on 2013-11-05 08:43 自护意识 阅读( ...) 评论( ...) 编辑 收藏 转载于:https://www.cnblogs.com/zihuyishi/p/3407853.html