c++ - 为什么我应该使用 Apache C++ 标准库而不是任何其他 STL 实现以及 Boost?

标签 c++ apache stl

我从 Apache C++ standard library 中得到什么好处?我不是从编译器和 Boost 库附带的 STL 实现中得到的?

最佳答案

The Apache C++ Standard Library project is a complete implementation of the ISO/IEC 14882 C++ Standard Library.

The most distinguishing characteristic of this implementation of the C++ Standard Library is its portability to a large number of C++ compilers, operating systems, and hardware architectures.

听起来,如果您看重极致的便携性,这就是您的最佳选择。如果你不这样做,大多数人都会默认使用他们编译器的默认实现,所以如果你遇到麻烦,社区会更大。如果您没有遇到实现问题,我不明白为什么它会产生很大的不同。

我通常会因为这种观点而受到抨击,但我喜欢拥有一家我可以花钱解决问题的公司的想法,我的开发人员(和我)不够聪明(或没有时间)深入研究内部结构并修复错误。

关于c++ - 为什么我应该使用 Apache C++ 标准库而不是任何其他 STL 实现以及 Boost?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1591779/

相关文章:

c++ - 初始化结构中数组的值

apache - 什么是代理服务器以及它如何帮助服务器架构

php - MySQL PHP 查询优化 - 反馈

php - 将 PHP 5.3.3 从源代码编译到 Apache

c++ - 在标准算法中,通过引用捕获哪里更正确?

c++ - 当所有变量都是同一类型时,为什么要进行类型转换?

c++ - 如何在 Qt 应用程序中替换 'gluOrtho2d'

C++有序(稳定)优先级队列

c++ - 重新排序 vector<std::unique_ptr<X>> 给定 vector<const X*>

c++ - 析构函数调用