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
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)