- 快召唤伙伴们来围观吧
- 微博 QQ QQ空间 贴吧
- 文档嵌入链接
- <iframe src="https://www.slidestalk.com/u70/cpp11_new_features?embed" frame border="0" width="640" height="360" scrolling="no" allowfullscreen="true">复制
- 微信扫一扫分享
C++11新特性
展开查看详情
1 . C++11 新特性 李长河 changhe.lw@gmail.com
2 . C++11 • 1. Declarations: auto, decltype,using =,nullptr • 2. Smart pointers • 3. Class changes • 4. Range-based for loop • 5. The rvalue reference • 6. Move semantics • 7. Lambda functions
3 . C++11 •1. auto
4 . C++11 • 2. decltype • 3. using=
5 . C++11 • smart pointers
6 . C++11 • class changes
7 . C++11 • rvalue reference
8 . C++11 • range-based for loop
9 . C++11 • move Semantic
10 .C++11
11 .C++11
12 . C++11 •lambda exp. [captures](parameters) -> returnType { Statements; }
13 .C++11
14 . More C++ 11 Features •并行程序设计 thread_local, thread, mutex,condition_variable, future •可变参数模板 template<typename T, typename... Args> void foo(cosnt T& t, const Args& ... rest ); •新的 STL 模板库: tuple 类模板 •随机数库 Visual Studio Community 2015: https://www.visualstudio.com/products/visual-studio-community-vs