#blogTitle{ background-color:#0FF; }
摘要: 目录 智能指针背后的设计思想 C++智能指针简单介绍 为什么摒弃auto_ptr? unique_ptr为何优于auto_ptr? 如何选择智能指针? 正文 1. 智能指针的设计思想 我们先来看一个简单的例子: void remodel(std::string & str) { std::strin 阅读全文
posted @ 2019-06-18 17:36 甘雨火光 阅读(172) 评论(0) 推荐(0) 编辑