Difference between revisions of "Used boost libraries"

From KlayGE
Jump to: navigation, search
Line 36: Line 36:
 
*Smart Ptr (Can be replaced by C++11)
 
*Smart Ptr (Can be replaced by C++11)
 
*Static Assert (Can be replaced by C++11)
 
*Static Assert (Can be replaced by C++11)
*Tokenizer
 
 
*Tuple (Can be replaced by C++11)
 
*Tuple (Can be replaced by C++11)
 
*Type Traits (Can be replaced by C++11)
 
*Type Traits (Can be replaced by C++11)

Revision as of 03:42, 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 (Can be replaced by C++11)
  • Chrono (Can be replaced by C++11)
  • 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, can be replaced by C++11)
  • System (Can be replaced by C++11)
  • Thread (Can be replaced by C++11)

Header-only Boost libraries:

  • Algorithm/string
  • Any
  • Array (Can be replaced by C++11)
  • Assert
  • Bind (Can be replaced by C++11)
  • Circular Buffer
  • Container/flat_map
  • Foreach (Can be replaced by C++11)
  • Function (Can be replaced by C++11)
  • Functional/Hash
  • Integer (Can be replaced by C++11)
  • Lexical Cast
  • Lock free
  • Member Function (Can be replaced by C++11)
  • Move (Can be replaced by C++11)
  • MPL/if_ (Can be replaced by C++11)
  • MPL/void_
  • Operators
  • Optional
  • Random (Can be replaced by C++11)
  • Ref (Can be replaced by C++11)
  • Signals2
  • Smart Ptr (Can be replaced by C++11)
  • Static Assert (Can be replaced by C++11)
  • Tuple (Can be replaced by C++11)
  • Type Traits (Can be replaced by C++11)
  • Typeof (Can be replaced by C++11)
  • Unordered (Can be replaced by C++11)
  • Utility/checked_delete
  • Utility/noncopyable
  • Utility/result_of (Can be replaced by 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.