Boost学习笔记
文章平均质量分 81
bobui
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Boost asio学习笔记之二—— 网络编程
Servier.cpp#includeboost/asio.hpp>#include boost/bind.hpp>#include boost/shared_ptr.hpp>#include boost/enable_shared_from_this.hpp>#include iostream>using boost::asio::ip::tcp;转载 2012-11-05 19:37:38 · 479 阅读 · 0 评论 -
boost 智能指针
除了标准库提供的智能指针std::auto_ptr外,boost中存在六个智能指针:scoped_ptr,shared_ptr,intrusive_ptr,weak_ptr和scoped_array,shared_array。 相比于std::auto_ptr不能用作STL容器的元素,Boost的智能指针则填补了这个空白。--何时需要智能指针a).资源的共享所有权中原创 2012-11-05 20:53:25 · 382 阅读 · 0 评论
分享