课程说明
C++11是继C++98之后的第二个标准规格;1.0进化到2.0新添了很多东西。C++14/C++17则是对C++11的若干小改善。本课程让学员对新特性有全面认识,并深入其中最重要的若干主题。
课程特色
只谈新特性,区分 "语言内核" 及 "标准库" 两大方向。短短 12 小时学员可获得新特性之大局观及许多重点探讨。全部都有 sample code (甚至 standard library关键源码) 解说。
课程对象
C++ 中高阶学员
课程大纲
1. C++11/14/17 Overview.
2. About Core Language :
auto,
Uniform Initialization,
Ranged-Based for,
Lambdas,
Move Semantics and Rvalue References,
Perfect Forwarding,
Variadic Templates,
constexpr, decltype,...
3. About Standard Library:
Pairs,
Tuples,
Type Traits,
Unordered Containers,
A good enough hash function provided by BOOST,
move-aware Containers,
Data Structures of all Containers and Iterators,
Smart Pointers (especially shared_ptr)
4. (optional) Introductions of Clocks & Times, Concurrency & Multithreading, Regular Expressions.