Difference between revisions of "使用到的C++11特性"

From KlayGE
Jump to: navigation, search
(Created page with "从KlayGE 4.2开始,一些C++11特性被引入代码中。包括: == C++11 Core Language Features == * Static assertions * auto-typed variables * Declared type of an e...")
 
m
Line 14: Line 14:
  
 
== C++11 Library ==
 
== C++11 Library ==
 +
* Array
 +
* Chrono
 +
* System
 +
* Thread
 +
* Tuple
 
* Type Traits
 
* Type Traits
 +
* Unordered

Revision as of 08:00, 1 January 2013

KlayGE 4.2开始,一些C++11特性被引入代码中。包括:

C++11 Core Language Features

  • Static assertions
  • auto-typed variables
  • Declared type of an expression
  • Null pointer constant
  • Strongly-typed enums
  • Range-based for

C++11 Core Language Features: Concurrency

C++11 Core Language Features: C99

  • long long

C++11 Library

  • Array
  • Chrono
  • System
  • Thread
  • Tuple
  • Type Traits
  • Unordered