C++智能指针
摘要:C++智能指针 C++ 11 新特性 智能指针(shared_ptr, unique_ptr, weak_ptr) shared_ptr shared_ptr基本用法 shared_ptr采用引用计数的方式管理所指向的对象。当有一个新的shared_ptr指向同一个对象时(复制shared_ptr等
阅读全文
posted @ 2018-02-07 15:55
posted @ 2018-02-07 15:55
posted @ 2017-12-01 15:07
posted @ 2017-11-02 17:23
posted @ 2017-11-02 15:02