Used boost libraries

From KlayGE
Revision as of 01:20, 3 July 2016 by Gongminmin (Talk | contribs)

Jump to: navigation, search

Much code in KlayGE depend on Boost. Here's the list of used libraries.

The used Boost libraries that must be built separately:

  • Filesystem (Can be replaced by Filesystem TS's on VC12+.)
  • Program Options (Only used in toolset.)
  • Regex (Only used in toolset. No dependency on VC12+. Will be removed in KlayGE 4.10.)
  • System (Not used directly. No dependency on VC12+.)
  • Test (Only used in test)

Header-only Boost libraries:

  • Algorithm/string
  • Any (Library fundamentals TS)
  • Assert
  • Circular Buffer
  • Container/flat_map
  • Functional/Hash
  • Lexical Cast
  • Lock free
  • Operators
  • Optional (Library fundamentals TS)
  • Signals2
  • Utility/noncopyable

Items marked as bold font can be replaced by features in C++11. Along with the popularize of C++11-supported compiler, those libraries are switched to C++11's. Boost libraries are used only when necessary.