认真学习boost库,以前用过一些,但是效率慢很多,所以就放弃了,但是我现在意识到开发效率比执行效率要重要。
Most Boost libraries are
header-only: they consist
entirely of header files containing templates and inline functions, and require no separately-compiled library binaries or special treatment when linking.
大部分的库都是以头文件的形式提供的不需要编译。
以下的库是需要分别单独编译的
The only Boost libraries that must be built separately are:
还有几个是可选编译的
A few libraries have optional separately-compiled binaries:
- Boost.DateTime has a binary component that is only needed if you're using its to_string/from_string or serialization features, or if you're targeting Visual C++ 6.x or Borland.
- Boost.Graph also has a binary component that is only needed if you intend to parse GraphViz files.
- Boost.Test can be used in “header-only” or “separately compiled” mode, although separate compilation is recommended for serious use.