#include <memory> //c++11 std::shared_ptr<int> p3(new int); *p3 = 10; cout << "p3:" << *p3 << endl;
posted on 2019-11-06 16:17 空明流光 阅读(135) 评论(0) 编辑 收藏 举报