認真學習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.