100、C++ 11有哪些新特性?

1.nullptr替代 NULL

2.引入了 auto 和 decltype 这两个关键字实现了类型推导

3.基于范围的 for 循环for(auto& i : res){}

4.类和结构体的中初始化列表

5.Lambda 表达式(匿名函数)

6.std::forward_list(单向链表)

7.右值引用和move语义

原文地址:https://www.cnblogs.com/crbhf/p/14995460.html