With C++ Concepts: Improve Type Safety with C++ 20 you will get a 40% discount on yearly plans and a 20% monthly discount oneducative.io. It is one of the popular courses from educative.io
You will go through one of the most significant new features in C++20, which is Concepts. Concepts allow you to create compiler-checked criteria for template parameters, revolutionizing the way you think about and develop generic code.
C++ Concepts: Improve Type Safety with C++ 20– Developer Discount
With the exclusive Holiday discount, you can get a 20% discount on two years of access to educative.io which includes all the existing and future courses. Two-year access is just $199 after the discount. Lockin this price before it expires.
Get an additional 20 discount on Handling Financial Services with Square API course
Coupon: Use code devops at checkout
Also, you can get a 10% discount on all educative courses using the exclusive discount.
Coupon: Use Code Educative10 at checkout
Here is what you will Learn from C++ Concepts: Improve Type Safety with C++ 20
1. Introduction
- Getting Started
- Why C++ Concepts?
2. The Concept Behind C++ Concepts
- Use of Concepts
- Motivation Behind C++ Concepts
- Templates in C++
- Quiz on C++ Templates
- Highlights
3. Four Ways to use Concepts in Functions
- The Four Ways to Use Concepts
- The <requires> Clause
- Challenge – GCD of Two Integers Using the <requires> Clause
- Solution: GCD of Two Integers Using the <requires> Clause
- The Trailing <requires> Clause
4. C++ Concepts with Classes
- Introduction
- The Requires Clause
- Challenge: Implement a Pair Class Using Requires Clause
- Solution: Implement KeyPair Class Using <requires> Clause
5. Concepts Shipped with the C++ Standard Library
- Concepts in the <concepts> Header – I
- Concepts in the <concepts> Header (cont.)
- Concepts in the <iterator> Header
- Concepts in the <ranges> Header
6. How to Write Your Own C++ Concepts
- Introduction
- Negations Using Concepts
- Subsumption and Negations
- Challenge: Fix the Code
7. How to Use C++ Concepts in Real Life
- Use Cases for Numbers
- Utility Functions Constrained
- Multiple Destructors with C++ Concepts
- Multiple Destructors with C++20
- Challenge: Container Class with Multiple Destructors
8. Summary
- Final Words