美文网首页
C++11新特性

C++11新特性

作者: 046ef6b0df68 | 来源:发表于2018-11-27 19:03 被阅读6次

文|Seraph

  1. long long 类型
  2. 列表初始化
  3. nullptr
  4. constexpr变量
  5. using别名声明
  6. auto 注意
  7. decltype 注意理解左值和右值
  8. 类内初始值
  9. 范围for(range for)
  10. vector<vector<int>>
  11. cbegin、cend
  12. begin和end函数
  13. 商一律向0取整
  14. constexpr函数
  15. 尾置返回类型

相关文章

网友评论

      本文标题:C++11新特性

      本文链接:https://www.haomeiwen.com/subject/npbvqqtx.html