Difference between revisions of "使用到的boost库"
From KlayGE
Gongminmin (Talk | contribs) |
Gongminmin (Talk | contribs) |
||
Line 27: | Line 27: | ||
*'''Member Function''' | *'''Member Function''' | ||
*'''Move''' | *'''Move''' | ||
− | |||
*MPL/void_ | *MPL/void_ | ||
*Operators | *Operators |
Revision as of 18:36, 10 June 2015
KlayGE的很多代码都依赖于boost。以下列出使用到boost中的各个部分。
需要编译才能使用的boost库:
- Atomic
- Chrono
- Date Time(没有直接使用,VC11+不使用)
- Filesystem(在VC11+中可以用TR2代替)
- Program Options(仅用于工具集)
- Regex(仅用于工具集)
- System
- Thread
只有头文件的boost库:
- Algorithm/string
- Any
- Array
- Assert
- Bind
- Circular Buffer
- Container/flat_map
- Foreach
- Function
- Functional/Hash
- Integer
- Lexical Cast
- Lock free
- Member Function
- Move
- MPL/void_
- Operators
- Optional
- Random
- Ref
- Signals2
- Smart Ptr
- Static Assert
- Tuple
- Type Traits
- Typeof
- Unordered
- Utility/checked_delete
- Utility/noncopyable
- Utility/result_of
标记为粗体的可以用C++11的功能代替。随着支持C++11的编译器的普及,这些库都会切换到C++11。除非迫不得已才用boost的。