-
Learning by doing
-
Trainers with practical experience
-
Classroom training
-
Detailed course material
-
Clear content description
-
Tailormade content possible
-
Training that proceeds
-
Small groups
In the course C++11-14-17-20 the participants learn the new features of the C++ standard that have been added since C++11. The language C++ is indispensable in the world of high performance and embedded software.
Since the C++98 standard it has remained silent for a long time, but since C++11 C++ has undergone a steady development in recent years with the releases of C++14, C++17 and C++20.
The course starts with an overview of a number of new features in C++11 such as type inference, uniform initialization, lambda functions and strongly typed enums.
Next the new Rvalue reference types in C++11 are discussed, which enable move constructors instead of copy constructors. The Golden Rule of 5 for classes with pointer members is also discussed.
An important addition to the C++ standard introduced with C++11 are the smart pointers. These are important in preventing memory leaks and unique, shared and weak smart pointers are discussed.
Furthermore attention is paid to multiple threads that have been part of the C++ standard since C++11. With threads C++ applications can be parallelized and make optimal use of multiple cores. The synchronization of threads by locking mechanisms such as mutexes and condition variables are also part of the course program.
The new features of C++14 including generalized lambda captures, return type deduction, shared mutexes and shared locking are then discussed.
Finally attention is paid to changes and additions to the standard that have come with the release of C++17 and C++20 such as folding expressions, optional types and immediate functions.
The course C++ 11-14-17-20 is intended for C++ developers who want to learn the new features of the C++ 11, 14, 17 and 20 standards.
To participate in this course knowledge of and experience with programming in C++ is required.
The theory is discussed on the basis of presentation slides and is interchanged with exercises. Illustrative demos are used to clarify the concepts discussed. Course times are from 9.30 to 16.30.
After successful completion of the training, participants receive an official certificate C++ 11-14-17-20.
Module 1 : C++ 11 Intro |
Module 2 : Move Semantics |
Module 3 : Smart Pointers |
C++11 Features Type Inference Auto and decltype Uniform Initialization Initializer Lists Range Based for Loop Null Pointer Constant Standard Types constexpr Keyword Static Asserts Lambda Functions Strongly Types Enums User Defined Literals Raw String Literals |
Lvalues and Rvalues in C++ Reference to Constant Passing References References as Return Values Rvalue References Rvalue Reference Usage Assignment Operator Copy Constructor Passing and Returning Objects Passing References to Objects Move Constructor Move Semantics Move Assignment Operator Golden Rule of 5 |
unique_ptr Using unique_ptr Specialization for Arrays Replacement for std::auto_ptr std::make_unique shared _ptr Pointer Control Block shared_ptr Destruction Policy shared_ptr Interface Cyclic References std::enable_shared_from_this weak_ptr default Keyword delete Keyword |
Module 4 : Multiple Threads |
Module 5 : Synchronization |
Module 6 : C++ 14 |
Multiple Threads Benefits and Drawbacks Thread Characteristics Thread Class Simple Threads Joining Threads Detaching Threads Thread ID Callables Passing Parameters Pass by Reference Pass by std::ref and std::move Member Function as Thread Thread Local Storage |
Data Corruption Lock Guard Automatic Lock Management Mutex and RAII Recursive Locking Timed Locking Atomic Types Call Once Event Handling Condition Variables Wait and Notify Promises and Futures Asynchronous Tasks Working with async |
Binary Literals Generic Lambda Expressions Generalized Lambda Captures Lambda Capture Initializers Return type Deduction decltype(auto) Constraints constexpr Functions Variable Templates [[deprecated]] Attribute Digit Separators Shared Mutexes Shared Locking Tuple Addressing via Type std::is_final |
Module 7 : C++ 17 |
Module 8 : C++ 20 |
|
Folding Expressions constexpr Lambda const if Expressions Init-statement for if Inline Variables Nested Namespaces Structured Bindings Selection Initialization UTF-8 Character Literals Initialization of Enums fallthrough and nodiscard Guaranteed Copy Elision Optional Types |
Concepts Library Designated Initializers likely and unlikely Attributes Immediate Functions constexpr Virtual Functions Explicit Bool Template Syntax Lambdas Math Constants Synchronized Outputstreams std::is_constant_evaluated std::span std::bit_cast std::midpoint |
All our courses are classroom courses in which the students are guided through the material on the basis of an experienced trainer with in-depth material knowledge. Theory is always interspersed with exercises.
We also do custom classes and then adjust the course content to your wishes. On request we will also discuss your practical cases.
The course times are from 9.30 to 16.30. But we are flexible in this. Sometimes people have to bring children to the daycare and other times are more convenient for them. In good consultation we can then agree on different course times.
We take care of the computers on which the course can be held. The software required for the course has already been installed on these computers. You do not have to bring a laptop to participate in the course. If you prefer to work on your own laptop, you can take it with you if you wish. The required software is then installed at the start of the course.
Our courses are generally given with Open Source software such as Eclipse, IntelliJ, Tomcat, Pycharm, Anaconda and Netbeans. You will receive the digital course material to take home after the course.
The course includes lunch that we use in a restaurant within walking distance of the course room.
The courses are planned at various places in the country. A course takes place at a location if at least 3 people register for that location. If there are registrations for different locations, the course will take place at our main location, Houten which is just below Utrecht. A course at our main location also takes place with 2 registrations and regularly with 1 registration. And we also do courses at the customer’s location if they appreciate that.
At the end of each course, participants are requested to evaluate the course in terms of course content, course material, trainer and location. The evaluation form can be found at https://www.klantenvertellen.nl/reviews/1039545/spiraltrain?lang=en. The evaluations of previous participants and previous courses can also be found there.
The intellectual property rights of the published course content, also referred to as an information sheet, belong to SpiralTrain. It is not allowed to publish the course information, the information sheet, in written or digital form without the explicit permission of SpiralTrain. The course content is to be understood as the description of the course content in sentences as well as the division of the course into modules and topics in the modules.