摘要:
在使用shared_ptr的时候碰到了这个问题,直接上代码示例,编译:g++ shared_ptr.cpp -I ~/usr_spider/include/ -L ~/usr_spider/lib64 #include<boost/shared_ptr.hpp>#include<boost/enable_shared_from_this.hpp>#include<iostream>usingnamespacestd;classtest:publicboost::enable_shared_from_this<test>{public:intnum 阅读全文
posted @ 2011-10-12 13:21
welkinwalker
阅读(769)
评论(0)
推荐(0)
浙公网安备 33010602011771号