Boost库-Serialization-发布信息

类别:编程语言 点击:0 评论:0 推荐:
This is the Boost 1.32 Serialization Library. There are currently no known bugs. However, due to compiler/library quirks and or bugs, some tests fail.
这是Boost 1.32的Serialization库。目前没有发现有bugs.然而因为编译器的原因(未支持标准的C++),有一些测试还是失败了。

Requirements
需要的库

This library requires Boost version 1.32 or later. Depending on the compiler used, It may also require spirit 1.6x which is not part of the standard boost distribution.
这个库需要Boost1.32或者更晚的版本。根据使用的编译器不同。他可能需要Spriit1.6X(它还不是已发布的标准的Boost库的一部分).

The serialization library requires the boost spirit package to load XML archives. We have found that all tests pass using spirit 1.6x. Spirit 1.8 and higher does not work with older compilers - specificallly MSVC 6, Borland and GCC < 3.0. If you are using one of these two compilers, you may download a version of spirit 1.6 here. To use this downloaded version rather than the one included with boost, set an environmental variable SPIRIT_ROOT to be equal to the root directory where the downloaded copy of spirit has been placed. E. G.
这个序列库需要Boost Spririt包来装载XML文档。我们已经发现在使用了spirit1.6后该库同过了所有的测试。spririt1.8或者更高并不能同老编译器一起工作。你可以通过http://spirit.sourceforge.net/index.php?doc=download/index.html来下载1.6版本。为使用这个版本而不使用自带的版本,需要设置SPIRIT_ROOT 变量来替换。比如:
set SPIRIT_ROOT=c:/spirit161

If you're not using bjam and the jamfile to build the library, be sure that the directory which contains the version of spirit you plan to use is placed at the front of the list of include paths.
如果你不使用bjam或者jamfile来构建库,那必需确定目录包含了你打算要使用的版本的spirit。而且必需放在所有include路径的前面.


Differences from Draft #20

同草案#20的不同之处

Support for Argument Dependent Looup for serialization override invocations. Enhanced documentation to help explain usage of the above. Adjustments to improve support for less conformant compilers. A few bug fixes. 支持“依据参数查找”来重载序列符咒〔水平不行。那位高手来帮帮偶〕 增加了文档的帮助来解释上面提到的特性的用法 支持更多的不规范编译器 少量的Bug修正 Pending issues

未解决问题

Compile, and test on more platforms implement is_virtual_base<T> to automatically eliminate redundancy in virtual base class serialization. currently can't serialize through a pointer an object a of class that implements its own new/delete operators. 编译器,和在更多的平台测试 实现is_virtual_base<T>来自动消除虚基类序列化冗余 目前不能通过序列化指针指向的实现了自己new/delete操作符重载的对象


 

本文地址:http://com.8s8s.com/it/it24891.htm