本文介绍了使用 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 库的优势是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!