Boost
发布
arrow_drop_down
上一版本 (1.46.0)
2013年4月13日
依赖项
此版本中 增加了 5 个依赖项 (在 3 个库中), 移除了 1 个依赖项 (在 1 个库中)。
平台 文件 SHA256 哈希
Unix boost_1_46_0.tar.bz2 2f90f....eba59
boost_1_46_0.tar.gz a87be....fa3ec
Windows boost_1_46_0.7z 648a0....03ff5
boost_1_46_0.zip 02ec0....6e2fb

版本 1.46.0

2011年2月21日 20:36 GMT

文档

新库

  • Icl:
    • Interval Container Library,区间集和映射以及关联值的聚合,来自 Joachim Faulhaber。

更新的库

  • Array:
    • 添加了对 cbegin/cend 的支持 (#4761)
    • 修复了 Sun 编译器的问题 (#4757)
  • Asio:
    • 修复了在使用 64 位平台的 ip::address_v4::broadcast() 时发生的整数溢出问题。
    • 修复了旧版 Linux 内核(使用 epoll 但不支持 timerfd)上在程序运行一段时间后,导致 deadline_timer 处理程序不能及时传递的问题 (#5045)。
  • Bind:
    • make_adaptable 现在已记录 (#4532)
  • Concept Check:
    • 修复了自赋值警告 (#4918)
  • Filesystem:
    • 库版本 3 现在是默认版本。
    • IBM vacpp:编译器错误(影响 iterator_facade)的解决方法。( #4912)
    • 验证、澄清、记录 <boost/config/user.hpp> 可用于指定 BOOST_FILESYSTEM_VERSION。( #4891)
    • 将 C 风格的 assert 替换为 BOOST_ASSERT
    • 取消了 unique_path() 的弃用。而是添加了一个说明,提到了缺乏线程安全和可能更改 cwd 的解决方法。unique_path() 太方便了,不能弃用!
    • 清除了几个 GCC 警告。
    • 将 V2 代码更改为使用 BOOST_THROW_EXCEPTION
    • Windows:修复 status() 以正确报告非符号链接的重分析点。
    • recursive_directory_iterator 添加 symlink_option,允许控制是否递归进入目录符号链接。请注意,默认已更改为不递归进入目录符号链接。
    • 参考文档清理,包括修复丢失和损坏的链接,以及添加缺失的函数。
    • 杂项实现代码清理。
  • Fusion:
    • vector 复制构造函数现在可在不同平台上以相同的顺序复制序列成员 (#2823)
  • :
  • 哈希:
    • 支持 std::type_index (#4756)。
    • 避免 -Wconversion 警告。
  • Iostreams:
    • 使用 BOOST_ASSERT 而不是 assert
    • 修复了 flush 回归问题 (#4590)。
  • Iterator:
    • 修复了 implicit_cast 的问题 (#3645)
  • 数学:
    • 添加了 Wald、Inverse Gaussian 和 geometric 分布。
    • 添加了关于配置宏的信息。
    • 添加了对 mpreal 作为实数类型(real-numered type)的支持。
  • Meta State Machine:
  • Optional:
    • 更新了测试结果,包含预期失败的信息 (#2294)
  • Pool:
    • 现在可以为池设置 max_size (#2696)
    • boost/pool/pool.hpp 使用 reinterpret_cast 而不是 static_cast (#2941)
    • boost::pool_allocator 现在可以与 vector of vectors 一起工作 (#386)
    • Boost pool 现在与 Microsoft 内存泄漏检测兼容 (#4346)
  • Program Options:
    • 修复了文档示例中的错误 (#3992, #4858)
    • 现在接受 const 形式的 argv (#3909)
  • Proto:
    • 重大更改boost/proto/core.hpp 不再定义 functional::pop_frontfunctional::reverse,它们已移动到 boost/proto/functional 下的各自的头文件中
    • 为更多的 Fusion 算法(包括 fusion::at)添加了可调用包装器;以及为一些 std 实用程序(如 make_pairfirstsecond)添加了可调用包装器,所有这些都位于新的 boost/proto/functional 目录中
    • 允许将变换与文法分开指定
    • proto::matches 保留了特定域的表达式包装器
    • 修复了 proto::and_ 变换中 operator, 的 ADL 问题
    • 修复了涉及多个域的表达式中语法检查的歧义 (#4675)
    • 修复了 proto::display_expr 中模棱两可的 operator<< (#4910)
    • fusion::is_sequence 对 Proto 表达式返回 true (#5006)
    • 消除了 boost/proto/fusion.hpp-Wundef GCC 警告 (#5075)
  • Signals:
    • GCC 警告清理 (#4365)
  • Spirit:
  • Tokenizer:
    • isspace/ispunct 使用了错误的字符类型 (#4791)
  • Unordered:
    • 避免使用 operator& 与值类型。
    • 避免 -Wconversion 警告。
  • Wave:

更新了工具

  • Boostbook:
    • 改进了对根元素属性的支持,包括 lang
  • Inspect:
    • 检查 Boost 头文件是否使用了 C 的 assert 宏。
  • Quickbook:
    • 为文档信息中的 lang 属性添加了支持。
    • 改进了锚点。
    • 在条件短语中支持 import, includexinclude
    • 使用 Filesystem 3。

测试的编译器

Boost 的主要测试编译器是:

  • Linux
    • GCC: 3.4.6, 4.2.4, 4.3.4, 4.4.3, 4.4.5, 4.5.2,
    • GCC, C++0x 模式: 4.3.4, 4.4.3, 4.5.0, 4.5.2
    • Intel: 10.1, 11.0, 11.1
    • Clang: 2.8
    • Pathscale: 3.2。
  • OS X
    • GCC: 4.0.1, 4.2.1, 4.4
    • GCC, C++0x 模式: 4.4。
    • Intel: 11.1
  • Windows
    • Visual C++: 7.1, 8.0, 9.0 和 10.0。
    • GCC, mingw: 4.4.0。
  • FreeBSD
    • GCC: 4.2.1, 64 位。

Boost 的其他测试编译器包括:

  • Linux
    • GCC: 3.4.6, 4.2.4, 4.3.4, 4.3.5, 4.4.3, 4.4.5, 4.5.0, 4.5.2
    • GCC, C++0x 模式: 4.3.4, 4.4.3, 4.5.0, 4.5.2
    • pgCC 11.1
    • Intel: 10.1, 11.0, 11.1
    • PathScale: 3.2, 4.0
    • Visual Age C++ 10.1
    • Clang 来自 subversion
  • OS X
    • Intel C++ Compiler: 10.1, 11.0, 11.1
    • GCC: 4.0.1, 4.2.1, 4.4.4
    • GCC, C++0x 模式: 4.4.4
    • Clang 来自 subversion
  • Windows
    • Visual C++: 7.1, 8.0, 9.0, 10.0
    • Visual C++ with STLport: 9.0
    • Visual C++, Windows Mobile 5, with STLport: 9.0
    • GCC, mingw: 4.4.0, 4.5.1, 4.6.0
    • GCC, mingw, C++0x 模式: 4.5.1
    • Borland: 6.1.3 (2009), 6.2.1 (2010)
  • AIX
    • IBM XL C/C++ Enterprise Edition, V11.1.0.0
  • FreeBSD
    • GCC 4.2.1, 64 位
  • Solaris
    • Sun C++: 5.10

致谢

Beman Dawes, Eric Niebler, Rene Rivera, Daniel James 和 Vladimir Prus 管理了本次发布。

贡献者

Hartmut Kaiser
Hartmut Kaiser
贡献者
John Maddock
John Maddock
贡献者
Paul A. Bristow
Paul A. Bristow
贡献者
Eric Niebler
Eric Niebler
贡献者
Beman Dawes
Beman Dawes
贡献者
Christophe Henry
Christophe Henry
贡献者
Daniel James
Daniel James
贡献者
Bryce Adelstein-Lelbach
Bryce Adelstein-Lelbach
贡献者
Neil Groves
Neil Groves
贡献者
Joel de Guzman
Joel de Guzman
贡献者
Marshall Clow
Marshall Clow
贡献者
Jeremiah Willcock
Jeremiah Willcock
贡献者
Troy D. Straszheim
Troy D. Straszheim
贡献者
Douglas Gregor
Douglas Gregor
贡献者
Steven Watanabe
Steven Watanabe
贡献者
Christopher Schmidt
贡献者
Ralf W. Grosse-Kunstleve
贡献者
Robert Ramey
Robert Ramey
贡献者
Frank Mori Hess
Frank Mori Hess
贡献者
Ion Gaztañaga
Ion Gaztañaga
贡献者
Vladimir Prus
Vladimir Prus
贡献者
Michael A. Jackson
Michael A. Jackson
贡献者
Emil Dotchevski
Emil Dotchevski
贡献者
Andrey Semashev
Andrey Semashev
贡献者
Pavol Droba
贡献者
Ben Hanson
贡献者
Christian Henning
Christian Henning
贡献者
Thorsten Jørgen Ottosen
Thorsten Jørgen Ottosen
贡献者
Luke Simonson
Luke Simonson
贡献者
Andreas Huber
贡献者
K. Noel Belcourt
K. Noel Belcourt
贡献者
Gordon Woodhull
Gordon Woodhull
贡献者
Peter Dimov
Peter Dimov
贡献者
Alexander Nasonov
Alexander Nasonov
贡献者
Christopher Kohlhoff
Christopher Kohlhoff
贡献者
Jan Gaspar
贡献者