Defensive C++: Design by Contract & Features in C++
Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. Design by contract (DbC) involves two parties, a client and a supplier, collaborating based on mutual obligations and benefits. DbC was intended to be released as a part of the C++ language in C++20, but will now be part of the C++23 release. Use this course to examine the technical specifications of design by contract and the role of its key components - preconditions, invariants, and postconditions.
You'll explore the most important features released in C++20, including the ranges library, coroutines, concepts, and modules. You'll also discover the weaknesses in defensive programming and when to implement offensive programming techniques in your code.
When you are finished with this course, you will be able to tackle complex projects built using C++ and write code for them using software engineering principles and defensive programming techniques.