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

From KlayGE
Jump to: navigation, search
m
Line 16: Line 16:
 
* Array
 
* Array
 
* Chrono
 
* Chrono
 +
* Functional
 +
* Integer
 +
* Random
 +
* Regex
 
* System
 
* System
 
* Thread
 
* Thread

Revision as of 04:23, 19 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
  • Functional
  • Integer
  • Random
  • Regex
  • System
  • Thread
  • Tuple
  • Type Traits
  • Unordered