Boost
arrow_drop_down
Boost.Flyweight
M
D

本次发布

Joaquin M. López Muñoz
Joaquin M. López Muñoz
作者

依赖项

Boost.Flyweight

Branch CI Drone status Deps Documentation Enter the Matrix
Branch CI Drone status Deps Documentation Enter the Matrix
BSL 1.0 Header-only library

Flyweights 是小型句柄类,提供对共享公共数据的常量访问,从而能够在合理的内存限制内管理大量实体。Boost.Flyweight 通过提供类模板 flyweight<T> 使得使用这种常见的编程惯用法变得容易,它充当 const T 的即插即用替换。

了解 Boost.Flyweight

安装 Boost.Flyweight

  • 下载 Boost 即可开始使用(这是一个仅头文件库,无需编译)。
  • 使用 Conan 2:如果您还没有安装,请在您的 conanfile.txt 中添加 Boost 条目(示例要求至少 Boost 1.86)
[requires]
boost/[>=1.86.0]
    如果您不使用任何编译的 Boost 库,以下操作将跳过编译
[options]
boost:header_only=True
  • 使用 vcpkg:执行命令
vcpkg install boost-flyweight

支持

贡献

全部时间

Beman Dawes
Beman Dawes
贡献者
Rene Rivera
Rene Rivera
贡献者
Peter Dimov
Peter Dimov
贡献者
Marshall Clow
Marshall Clow
贡献者
Alexander Grund
Alexander Grund
贡献者
Troy D. Straszheim
Troy D. Straszheim
贡献者
fanquake
fanquake
贡献者
Stephen Kelly
Stephen Kelly
贡献者
Edward Diener
Edward Diener
贡献者
Daniel James
Daniel James
贡献者
Giovanni Mascellani
Giovanni Mascellani
贡献者
Andrey Semashev
Andrey Semashev
贡献者
Bryce Adelstein-Lelbach
Bryce Adelstein-Lelbach
贡献者
Tinko Bartels
Tinko Bartels
贡献者
Douglas Gregor
Douglas Gregor
贡献者