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 (Can be replaced by C++11)
+
*'''Atomic'''
*Chrono (Can be replaced by C++11)
+
*'''Chrono'''
 
*Date Time (Not used directly. No dependency on VC11+)
 
*Date Time (Not used directly. No dependency on VC11+)
 
*Filesystem (Can be replaced by TR2's on VC11+)
 
*Filesystem (Can be replaced by TR2's on VC11+)
 
*Program Options (Only used in [[toolset]])
 
*Program Options (Only used in [[toolset]])
*Regex (Only used in [[toolset]], can be replaced by C++11)
+
*'''Regex''' (Only used in [[toolset]])
*System (Can be replaced by C++11)
+
*'''System'''
*Thread (Can be replaced by C++11)
+
*'''Thread'''
  
 
Header-only Boost libraries:
 
Header-only Boost libraries:
 
*Algorithm/string
 
*Algorithm/string
 
*Any
 
*Any
*Array (Can be replaced by C++11)
+
*'''Array'''
 
*Assert
 
*Assert
*Bind (Can be replaced by C++11)
+
*'''Bind'''
 
*Circular Buffer
 
*Circular Buffer
 
*Container/flat_map
 
*Container/flat_map
*Foreach (Can be replaced by C++11)
+
*'''Foreach'''
*Function (Can be replaced by C++11)
+
*'''Function'''
 
*Functional/Hash
 
*Functional/Hash
*Integer (Can be replaced by C++11)
+
*'''Integer'''
 
*Lexical Cast
 
*Lexical Cast
 
*Lock free
 
*Lock free
*Member Function (Can be replaced by C++11)
+
*'''Member Function'''
*Move (Can be replaced by C++11)
+
*'''Move'''
*MPL/if_ (Can be replaced by C++11)
+
*'''MPL/if_'''
 
*MPL/void_
 
*MPL/void_
 
*Operators
 
*Operators
 
*Optional
 
*Optional
*Random (Can be replaced by C++11)
+
*'''Random'''
*Ref (Can be replaced by C++11)
+
*'''Ref'''
 
*Signals2
 
*Signals2
*Smart Ptr (Can be replaced by C++11)
+
*'''Smart Ptr'''
*Static Assert (Can be replaced by C++11)
+
*'''Static Assert'''
*Tuple (Can be replaced by C++11)
+
*'''Tuple'''
*Type Traits (Can be replaced by C++11)
+
*'''Type Traits'''
*Typeof (Can be replaced by C++11)
+
*'''Typeof'''
*Unordered (Can be replaced by C++11)
+
*'''Unordered'''
 
*Utility/checked_delete
 
*Utility/checked_delete
 
*Utility/noncopyable
 
*Utility/noncopyable
*Utility/result_of (Can be replaced by C++11)
+
*'''Utility/result_of'''
  
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 03:58, 10 June 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 TR2's on VC11+)
  • Program Options (Only used in toolset)
  • Regex (Only used in toolset)
  • System
  • Thread

Header-only Boost libraries:

  • Algorithm/string
  • Any
  • Array
  • Assert
  • Bind
  • Circular Buffer
  • Container/flat_map
  • Foreach
  • Function
  • Functional/Hash
  • Integer
  • Lexical Cast
  • Lock free
  • Member Function
  • Move
  • MPL/if_
  • MPL/void_
  • Operators
  • Optional
  • Random
  • Ref
  • Signals2
  • Smart Ptr
  • Static Assert
  • Tuple
  • Type Traits
  • Typeof
  • Unordered
  • Utility/checked_delete
  • 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 C++11's. Boost libraries are used only when necessary.