导读 Boost 是可移植的 C++ 库,目前包含了大约 160 种不同的函数库。

此版本对以下的库进行了更新:Asio, Assert, Atomic, Beast, Core, Describe, Filesystem, Geometry, Integer, IO, Iterator, JSON, Log, Multi-index Containers, Nowide, Optional, Predef, Smart Pointers, System, ThrowException, Unordered, Variant2, Wave, LEAF, QVM。

Asio:

  • 添加 bind_allocator
  • 添加 file_base::sync_all_on_writeflag
  • 添加缺失的 basic_file::release()实现
  • 为信号集添加对取消 per-operation 操作的支持
  • 将 recycling_allocator作为公开接口的一部分
  • 为多项函数添加 nodiscard属性
  • 兼容 OpenSSL 3.0
  • 增强文档
  • 另外,此版本存在一个已知的问题:

  • Boost.JSON array::erase 会出现 segfault 错误,详情查看 #692. Patch
  • 原文来自:https://www.oschina.net/news/191851/boost-1-79-0-released

    本文地址:https://www.linuxprobe.com/boost-1-79-0.html编辑:王婷,审核员:清蒸github

    Linux命令大全:https://www.linuxcool.com/

    Linux系统大全:https://www.linuxdown.com/

    红帽认证RHCE考试心得:https://www.rhce.net/