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 库的优势是什么?


猜你喜欢
- 如何对自定义类的向量使用std::find()? 2022-11-07
- 近似搜索的工作原理 2021-01-01
- 从python回调到c++的选项 2022-11-16
- C++ 协变模板 2021-01-01
- 使用/clr 时出现 LNK2022 错误 2022-01-01
- Stroustrup 的 Simple_window.h 2022-01-01
- 静态初始化顺序失败 2022-01-01
- 一起使用 MPI 和 OpenCV 时出现分段错误 2022-01-01
- STL 中有 dereference_iterator 吗? 2022-01-01
- 与 int by int 相比,为什么执行 float by float 矩阵乘法更快? 2021-01-01