返回顶部
摘要: 1. boost::shared_ptr的用法 下面用一个简单的例子说明shared_ptr的用法: #include <stdio.h> #include <boost/shared_ptr.hpp> class A { public: void print() { printf("class A 阅读全文
posted @ 2019-11-06 14:27 Swetchine 阅读(3665) 评论(2) 推荐(0) 编辑