Modern C++
C++ has changed a lot since C++11. This course covers the most important features of C++11, 14, 17 and 20, and if time allows the main additions in C++23.
We go deep on the big features and touch on the smaller ones. Most of the time you write code.
- Duration
- 3 days
- Price
- €3,150 plus €345 per participant, excluding VAT
- Group size
- Up to 12 participants
- Language
- English, German or Dutch
- Location
- On-site, at your company
- Laptops
- One per participant. Participants bring their own or a company laptop.
Who it's for
C++ developers who want to make full use of modern C++. You need experience with C++.
Topics
- Type deduction:
auto,decltype,decltype(auto)and template type deduction - List initialization, aggregate initialization and designated initializers
- Move semantics, perfect forwarding and forwarding references
- Smart pointers
- Lambdas, including generic lambdas, and
std::function,std::invoke,std::applyandstd::bind_front - What's new in classes:
override,final, defaulted and deleted functions, delegating and inheriting constructors,explicitconversion functions nullptr, scoped enums,noexceptand attributes such as[[nodiscard]]- Structured bindings, range-based for loops, and
ifandswitchwith an initializer constexpr,consteval,if constexprand type traits- The three-way comparison operator
<=> - Variadic templates, fold expressions, variable templates and
autonon-type template parameters - Concepts
- Ranges and views
- Container improvements:
contains,std::erase_if, and splicing and merging maps and sets - Vocabulary types:
std::optional,std::variant,std::any,std::tupleandstd::tie std::string_view,std::spanandstd::formatstd::chrono,std::filesystemandstd::regex- Threading, including
std::threadversusstd::jthread - Modules, and a first look at coroutines
- If time allows, C++23:
std::expected, monadic operations onstd::optionalandstd::print
Want this course for your team? Contact me to plan a date or to request a quote. Or see all courses.
Tonni Tielens