Difference between revisions of "Used boost libraries"

From KlayGE
Jump to: navigation, search
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+)
+
*'''Atomic''' (Not used directly. No dependency on VC11+. Will be removed in KlayGE 4.9.)
*'''Chrono'''
+
*'''Chrono''' (Will be removed in KlayGE 4.9.)
*Date Time (Not used directly. No dependency on VC11+)
+
*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+)
 
*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]])
 
*'''Regex''' (Only used in [[toolset]])
*'''System''' (Not used directly. No dependency on VC11+)
+
*'''System''' (Not used directly. No dependency on VC11+. Will be removed in KlayGE 4.9.)
 
*Test (Only used in test)
 
*Test (Only used in test)
*'''Thread'''
+
*'''Thread''' (Will be removed in KlayGE 4.9.)
  
 
Header-only Boost libraries:
 
Header-only Boost libraries:
Line 21: Line 21:
 
*Lexical Cast
 
*Lexical Cast
 
*Lock free
 
*Lock free
*'''Member Function'''
+
*'''Member Function''' (Will be removed in KlayGE 4.9.)
 
*Operators
 
*Operators
 
*Optional (Library fundamentals TS)
 
*Optional (Library fundamentals TS)

Revision as of 16:20, 2 January 2016

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

The used Boost libraries that must be built separately:

  • Atomic (Not used directly. No dependency on VC11+. Will be removed in KlayGE 4.9.)
  • 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)
  • Regex (Only used in toolset)
  • System (Not used directly. No dependency on VC11+. Will be removed in KlayGE 4.9.)
  • Test (Only used in test)
  • Thread (Will be removed in KlayGE 4.9.)

Header-only Boost libraries:

  • Algorithm/string
  • Any (Library fundamentals TS)
  • Assert
  • Circular Buffer
  • Container/flat_map
  • Functional/Hash
  • Lexical Cast
  • Lock free
  • Member Function (Will be removed in KlayGE 4.9.)
  • 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.