Difference between revisions of "使用到的C++11特性"
From KlayGE
Gongminmin (Talk | contribs) |
Gongminmin (Talk | contribs) m |
||
Line 30: | Line 30: | ||
[[多种编译器对C++11的支持]] | [[多种编译器对C++11的支持]] | ||
− | [[en: Used C++11 | + | [[en: Used C++11 features]] |
Revision as of 02:33, 1 December 2013
从KlayGE 4.2开始,一些C++11特性被引入代码中,部分替代了原先使用boost实现的功能。包括:
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