
Boost
文章平均质量分 83
is2120
这个作者很懒,什么都没留下…
展开
-
boost.array 使用实例
//z 2011-06-08 23:20:20@is2120.优快云 转载请注明出处#include //z 包含 array 相关头文件。#include using namespace std;using namespace boost;//z 仿函数,输出array各元素。class P原创 2011-06-08 23:26:00 · 1198 阅读 · 0 评论 -
c++ 书籍推荐
对于所有人都适用-参考手册 The C++ Programming Language (Bjarne Stroustrup) C++ Standard Library Tutorial and Reference(Nicolai Josuttis) The C++ IO Streams and Locales (Angelika Langer and Klaus Kreft)入门级 C++ Primer† (Stanley Lippman, Josée Lajo原创 2011-04-24 23:00:00 · 830 阅读 · 0 评论 -
boost tuple笔记(待续)
tuple //z 2011-06-18 22:35:34@is2120.优快云 转载请注明出处1. 概述定义了一个有固定数目元素的容器,每个元素类型可以不同。类似pair,只是里面的元素更多。可以将pair可以看作tuple的特例,tuple是pair的泛化。tuple已被收入 c++ 0x TR1草案。2. 类摘要template cl原创 2011-06-18 22:38:00 · 601 阅读 · 0 评论 -
boost throw_exception unresolved
在用 VS2010 (vc2010)的cl.exe编译如下代码( boost asio 示例 )时,总是出现 throw_exception unresolved (link error)is2120@csdn@2011-5-2 23:35 copyright@is2120 ,转载请保留x.obj : error LNK2019: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception cons原创 2011-05-02 23:34:00 · 8486 阅读 · 0 评论 -
vc6 配置使用 boost 1.34.1
使用boost 1.34.1 成功(据说再新的版本不支持vc6了)http://blog.youkuaiyun.com/is2120/article/details/7198702//z 2012-1-13 2:16 PM IS2120@优快云总结下:重要步骤,1. 先生成一个bjam(没有生成,从别处拷贝一个也可)2. 运行VCVARS32.BAT,设置环境变量3. 有了b原创 2012-01-13 14:17:05 · 2637 阅读 · 1 评论 -
boost::asio 实现 libtorrent (zz)
libtorrent,使用 boost:asio 1.multicast, unicast socket的实现2.DHT算法3.UPNP的实现这些都是基于boost:asio原创 2014-04-14 21:37:39 · 1200 阅读 · 0 评论 -
如何使用 Boost.Func
//z 2014-07-24 14:53:32 L.160'32788 BG57IV3@XCL T491489982 .K.F916674775 [T6,L181,R3,V64] 1. 概述 Boost.Func 允许你创建各种类型的函数指针变量。 Boost.Bind 能够动态bind一个函数到函数指针变量。 2. 声明一个boost::function 变量原创 2014-07-24 14:54:02 · 675 阅读 · 0 评论 -
boost shared ptr
1. 使用智能指针的例子。 //z 2014-10-29 14:34:09 L.63 '33951 BG57IV3@XCL T892754998 .K.F2002403129[T9,L298,R11,V257] #include #include #include #include void testSharedPtr原创 2014-10-29 14:53:45 · 746 阅读 · 0 评论