标签:out new har sha int clu nbsp mem class
#include <memory> //c++11 std::shared_ptr<int> p3(new int); *p3 = 10; cout << "p3:" << *p3 << endl;
c++ 智能指针
原文地址:https://www.cnblogs.com/nanfei/p/11806047.html