C++11:总结

 

auto

decltype

Rvalue references and move semantics

Lambda expressions

nullptr

static_assert

Range based for loop

Trailing return type in functions

final method keyword

override method keyword

Strongly typed enums

Forward declared enums

extern templates

 

auto关键字

decltype关键字

右值引用(Rvalue references)与移动语义(move semantics)

Lambda表达式

nullptr关键字

静态断言(static_assert)关键字

基于范围的循环(Range based for loop)语法

函数返回类型后置(Trailling return type in functions)语法

final关键字

override关键字

强类型枚举(Strongly typed enums)

前置枚举声明(Forward declared enums)

外部模板(extern templates)

模板右尖括号嵌套(>> for nested templates)

Local and unnamed types as template arguments

变参宏(Variadic macros)

新内建类型(New built-in types)

Initialzer_lists容器

显示类型转换运算符(explicit type conversion operators)

内联命名空间(Inline namespaces)

sizeof用在没实例时的非静态成员(sizeof on non-static data members without an instance)

改变union成员限制(Changed restrictions on union members)

Raw string literals

User defined literals

Encoding support in literals

Arbitrary expressions in template deduction contexts

默认方法(Defaulted methods)

删除方法(Deleted methods)

非静态成员初始化(Non-static data member initializers)

变参模板(Variadic templates)

函数模板中的默认模板参数(Default template arguments in function templates)

模板别名(Template aliases)

前置构造函数(Forwarding constructors)

noexcept关键字

constexpr关键字

Alignment支持

*this的右值引用

C99兼容性(C99 compatibility)

线程本地存储(Thread local storage)

构造函数继承(Inheriting constructors)

Generalized attributes

 

posted @ 2023-07-06 17:57  言午丶  阅读(5)  评论(0编辑  收藏  举报