阅读背景:

智能指针Smart Pointer

来源:互联网 
1.智能指针 std::unique_ptr(single ownership) std::shared_ptr(shared ownership) std::weak_ptr(temp/no ownership) C++11以后出现 定义在头文件<memory>中 1.0 为啥要有智能指针? 1.智能指针 std::unique_ptr(single ownership) std::sha



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: