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'''
+
*'''Atomic''' (Not used directly. No dependency on VC11+)
 
*'''Chrono'''
 
*'''Chrono'''
 
*Date Time (Not used directly. No dependency on VC11+)
 
*Date Time (Not used directly. No dependency on VC11+)
Line 18: Line 18:
 
*Circular Buffer
 
*Circular Buffer
 
*Container/flat_map
 
*Container/flat_map
*'''Foreach'''
 
 
*Functional/Hash
 
*Functional/Hash
 
*Lexical Cast
 
*Lexical Cast
Line 26: Line 25:
 
*Optional (Library fundamentals TS)
 
*Optional (Library fundamentals TS)
 
*Signals2
 
*Signals2
*'''Smart Ptr'''
 
 
*Utility/noncopyable
 
*Utility/noncopyable
  

Revision as of 22:44, 8 July 2015

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+)
  • Chrono
  • Date Time (Not used directly. No dependency on VC11+)
  • 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+)
  • Test (Only used in test)
  • Thread

Header-only Boost libraries:

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