What are the advantages of using the C++ Boost libraries?(使用 C++ Boost 库的优势是什么?)
本文介绍了使用 C++ Boost 库的优势是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以,我一直在通读,似乎 Boost 库在实践中得到了很多使用(虽然不是在我的商店).为什么是这样?是什么让它如此美妙?
So, I've been reading through and it appears that the Boost libraries get used a lot in practice (not at my shop, though). Why is this? and what makes it so wonderful?
推荐答案
Boost 的使用如此广泛,因为:
Boost is used so extensively because:
- 它是开源的并经过同行评审.
- 它提供了 STL 没有提供的范围广泛的平台无关功能.
- 它是对 STL 的补充而不是替代.
- 许多 Boost 开发人员都是 C++ 标准委员会的成员.事实上,Boost 的很多部分都被认为包含在下一个 C++ 标准库中.
- 它被很好地记录下来.
- 其许可允许包含在开源和闭源项目中.
- 它的功能通常相互依赖,因此您可以只链接您需要的部分.[Luc Hermitte 的评论]
- It is open-source and peer-reviewed.
- It provides a wide range of platform agnostic functionality that STL missed.
- It is a complement to STL rather than a replacement.
- Many of Boost developers are on the C++ standard committee. In fact, many parts of Boost is considered to be included in the next C++ standard library.
- It is documented nicely.
- Its license allows inclusion in open-source and closed-source projects.
- Its features are not usually dependent on each other so you can link only the parts you require. [Luc Hermitte's comment]
这篇关于使用 C++ Boost 库的优势是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
沃梦达教程
本文标题为:使用 C++ Boost 库的优势是什么?


基础教程推荐
猜你喜欢
- 为什么语句不能出现在命名空间范围内? 2021-01-01
- 为 C/C++ 中的项目的 makefile 生成依赖项 2022-01-01
- 从 std::cin 读取密码 2021-01-01
- 使用从字符串中提取的参数调用函数 2022-01-01
- 如何“在 Finder 中显示"或“在资源管理器中显 2021-01-01
- Windows Media Foundation 录制音频 2021-01-01
- 在 C++ 中循环遍历所有 Lua 全局变量 2021-01-01
- 管理共享内存应该分配多少内存?(助推) 2022-12-07
- 如何在不破坏 vtbl 的情况下做相当于 memset(this, ...) 的操作? 2022-01-01
- 如何使图像调整大小以在 Qt 中缩放? 2021-01-01