Difference between revisions of "使用到的boost库"

From KlayGE
Jump to: navigation, search
m
m
Line 10: Line 10:
 
*System(没有直接使用)
 
*System(没有直接使用)
 
*Thread
 
*Thread
 +
  
 
只有头文件的boost库:
 
只有头文件的boost库:
 +
*Algorithm
 
*Any
 
*Any
 
*Array
 
*Array
Line 22: Line 24:
 
*Function
 
*Function
 
*Functional/Hash
 
*Functional/Hash
 +
*Integer
 +
*Interprocess
 
*Lexical Cast
 
*Lexical Cast
 
*Member Function
 
*Member Function
Line 32: Line 36:
 
*Static Assert
 
*Static Assert
 
*Tokenizer
 
*Tokenizer
 +
*Tuple
 
*Type Traits
 
*Type Traits
 
*Typeof
 
*Typeof
 
*Unordered
 
*Unordered
 
*Utility
 
*Utility
 +
 +
随着支持C++11的编译器的普及,以后打算逐渐切换到使用C++11的库。只有在不支持C++11的编译器上才采用boost。

Revision as of 03:33, 28 September 2012

KlayGE的很多代码都依赖于boost。以下列出使用到boost中的各个部分。

需要编译才能使用的boost库:

  • Chrono(没有直接使用)
  • Date Time
  • Filesystem
  • Program Options(仅用于工具)
  • Regex(仅用于工具)
  • Signals
  • System(没有直接使用)
  • Thread


只有头文件的boost库:

  • Algorithm
  • Any
  • Array
  • Assign
  • Assert
  • Bind
  • Circular Buffer
  • Container
  • Foreach
  • Function
  • Functional/Hash
  • Integer
  • Interprocess
  • Lexical Cast
  • Member Function
  • MPL
  • Operators
  • Pool
  • Random
  • Ref
  • Smart Ptr
  • Static Assert
  • Tokenizer
  • Tuple
  • Type Traits
  • Typeof
  • Unordered
  • Utility

随着支持C++11的编译器的普及,以后打算逐渐切换到使用C++11的库。只有在不支持C++11的编译器上才采用boost。