Difference between revisions of "Used boost libraries"

From KlayGE
Jump to: navigation, search
Line 15: Line 15:
 
*Algorithm/string
 
*Algorithm/string
 
*Any (Library fundamentals TS)
 
*Any (Library fundamentals TS)
*'''Array'''
 
 
*Assert
 
*Assert
 
*'''Bind'''
 
*'''Bind'''
Line 23: Line 22:
 
*'''Function'''
 
*'''Function'''
 
*Functional/Hash
 
*Functional/Hash
*'''Integer'''
 
 
*Lexical Cast
 
*Lexical Cast
 
*Lock free
 
*Lock free
 
*'''Member Function'''
 
*'''Member Function'''
*'''Move'''
 
 
*Operators
 
*Operators
 
*Optional (Library fundamentals TS)
 
*Optional (Library fundamentals TS)
*'''Random'''
 
 
*'''Ref'''
 
*'''Ref'''
 
*Signals2
 
*Signals2
 
*'''Smart Ptr'''
 
*'''Smart Ptr'''
*'''Static Assert'''
 
*'''Tuple'''
 
*'''Type Traits'''
 
*'''Typeof'''
 
*'''Unordered'''
 
 
*Utility/checked_delete
 
*Utility/checked_delete
 
*Utility/noncopyable
 
*Utility/noncopyable
*'''Utility/result_of'''
 
  
 
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 [[Used C++11 features|C++11]]'s. Boost libraries are used only when necessary.
 
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 [[Used C++11 features|C++11]]'s. Boost libraries are used only when necessary.
  
 
[[zh:使用到的boost库]]
 
[[zh:使用到的boost库]]

Revision as of 22:12, 5 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
  • 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
  • Test (Only used in test)
  • Thread

Header-only Boost libraries:

  • Algorithm/string
  • Any (Library fundamentals TS)
  • Assert
  • Bind
  • Circular Buffer
  • Container/flat_map
  • Foreach
  • Function
  • Functional/Hash
  • Lexical Cast
  • Lock free
  • Member Function
  • Operators
  • Optional (Library fundamentals TS)
  • Ref
  • Signals2
  • Smart Ptr
  • Utility/checked_delete
  • 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.