Difference between revisions of "Used boost libraries"

From KlayGE
Jump to: navigation, search
m
Line 2: Line 2:
  
 
The used Boost libraries that must be built separately:
 
The used Boost libraries that must be built separately:
*'''Atomic''' (Not used directly. No dependency on VC11+. Will be removed in KlayGE 4.9.)
+
*Filesystem (Can be replaced by Filesystem TS's on VC12+.)
*'''Chrono''' (Will be removed in KlayGE 4.9.)
+
*Date Time (Not used directly. No dependency on VC11+. Will be removed in KlayGE 4.9.)
+
*Filesystem (Can be replaced by Filesystem TS's on VC11+.)
+
 
*Program Options (Only used in [[toolset]].)
 
*Program Options (Only used in [[toolset]].)
*'''Regex''' (Only used in [[toolset]]. No dependency on VC11+.)
+
*'''Regex''' (Only used in [[toolset]]. No dependency on VC12+.)
*'''System''' (Not used directly. No dependency on VC11+. Will be removed in KlayGE 4.9.)
+
*'''System''' (Not used directly. No dependency on VC12+.)
 
*Test (Only used in test)
 
*Test (Only used in test)
*'''Thread''' (Will be removed in KlayGE 4.9.)
 
  
 
Header-only Boost libraries:
 
Header-only Boost libraries:
Line 21: Line 17:
 
*Lexical Cast
 
*Lexical Cast
 
*Lock free
 
*Lock free
*'''Member Function''' (Will be removed in KlayGE 4.9.)
 
 
*Operators
 
*Operators
 
*Optional (Library fundamentals TS)
 
*Optional (Library fundamentals TS)

Revision as of 00:42, 1 July 2016

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+.)
  • 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.