2019年11月6日

c++ 智能指针

摘要: #include <memory> //c++11 std::shared_ptr<int> p3(new int); *p3 = 10; cout << "p3:" << *p3 << endl; 阅读全文

posted @ 2019-11-06 16:17 空明流光 阅读(144) 评论(0) 推荐(0)

导航