摘要: Smart Pointers - What, Why, Which? http://ootips.org/yonat/4dev/smart-pointers.html auto_ptr C++98中,智能指针通过一个模板类型auto_ptr实现,缺点:拷贝时返回一个左值,不能调用delete[](只 阅读全文
posted @ 2020-08-11 10:42 adfas 阅读(194) 评论(0) 推荐(0) 编辑