
boost
hwlzs
这个作者很懒,什么都没留下…
展开
-
使用mongodb时遇到error, bind 与 mongo有关内容冲突
http://social.msdn.microsoft.com/Forums/is/vcgeneral/thread/d572b6dd-3e7f-4aff-8e24-acbffee47f3f原创 2011-09-23 20:13:32 · 143 阅读 · 0 评论 -
windows 下 boost 库编译 vs2005 vs2008 vs2010
参考: [url]http://www.cnblogs.com/luhouxiang/archive/2011/09/26/2192345.html[/url] [url]http://apps.hi.baidu.com/share/detail/31765188[/url] [size=large]本人环境: [/size] os: win7 64bit 编译器...原创 2012-01-19 13:49:34 · 148 阅读 · 0 评论 -
C++对象序列化方案对比 (转)
转: [url]http://hi.baidu.com/ewook/blog/item/add93b6da0d5e2e1431694e5.html[/url] 序列化是将对象状态信息转换为可存储或传输的过程,序列化时,对象会将当前状态写入到临时或持久性的存储区。以后,可以通过从存储区中读取或反序列化对象的状态,重新创建该对象。 对象序列化反序列化通常用于: 1. 将对象存储于硬盘上 ...原创 2012-01-19 15:28:33 · 218 阅读 · 0 评论 -
使用数组来实现类的序列化, boost
根据官方文档改写: [url]http://www.boost.org/doc/libs/1_45_0/libs/serialization/doc/tutorial.html#arrays[/url] [url]http://www.fuzhijie.me/?p=62[/url] [code="c++"] #include "stdafx.h" #include #in...原创 2012-01-19 19:01:41 · 226 阅读 · 0 评论 -
Boost库编译后命名方式
Boost官网的《Geting Started On Windows》(http://www.boost.org/doc/libs/1_38_0/more/getting_started/windows.html)提到了Boost库的命名,摘录如下: 以 libboost_regex-vc71-mt-d-1_34.lib 为例: lib 前缀:除了Microsoft Windows之...原创 2012-05-17 10:29:54 · 87 阅读 · 0 评论 -
boost 序列化
在用boost 二进制序列化类的时候,需要注意动态调用文件打开标志std::ios::binary: The flag std::ios::binary is required only in Windows, where the default mode (ascii) would translate \n\r to \n (and vice versa), thus corrupti...原创 2012-03-09 13:40:16 · 302 阅读 · 0 评论