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

From KlayGE
Jump to: navigation, search
Line 1: Line 1:
 
从[[KlayGE]] 4.2开始,一些C++11特性被引入代码中。包括:
 
从[[KlayGE]] 4.2开始,一些C++11特性被引入代码中。包括:
== C++11 Core Language Features ==
+
 
 +
== C++11核心语言功能 ==
 
* Static assertions
 
* Static assertions
 
* auto-typed variables
 
* auto-typed variables
Line 8: Line 9:
 
* Range-based for
 
* Range-based for
  
== C++11 Core Language Features: Concurrency ==
+
== C++11核心语言功能:并行 ==
  
== C++11 Core Language Features: C99 ==
+
== C++11核心语言功能:C99 ==
 
* long long
 
* long long
  
== C++11 Library ==
+
== C++11库 ==
 
* Array
 
* Array
 
* Chrono
 
* Chrono

Revision as of 09:24, 20 June 2013

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

C++11核心语言功能

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

C++11核心语言功能:并行

C++11核心语言功能:C99

  • long long

C++11库

  • Array
  • Chrono
  • Functional
  • Integer
  • Random
  • Regex
  • System
  • Thread
  • Tuple
  • Type Traits
  • Unordered

相关内容

不同的编译器对C++11的支持