HomeCoursesC++ Concepts: Improve Type Safety with C++ 20

Intermediate

3h 20min

Updated 5 months ago

C++ Concepts: Improve Type Safety with C++ 20
Save

Gain insights into C++20 Concepts to enhance type safety. Delve into creating compiler-checked criteria for templates and improving error clarity for seamless generic code development.
Join 2.7 million developers at
Overview
Content
Reviews
This course will walk you through the newest version of C++ 20, C++ Concepts. 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. You can use them to provide both syntactic and semantic requirements. They also allow you to explicitly express your goal in the type system. If something goes wrong, you'll get a clear error message from the compiler. While useful, Concepts can be difficult to apply and even confusing sometimes. This course provides you with the knowledge you need to overcome these obstacles and move on to more complex topics. Let's get started.
This course will walk you through the newest version of C++ 20, C++ Concepts. You will go through one of the most significant n...Show More

WHAT YOU'LL LEARN

Learn to use concepts to create more powerful programs
Learn to write your own C++ Concepts
Learn to use C++ Concepts in real life
Learn to use concepts to create more powerful programs

Show more

TAKEAWAY SKILLS

Templates

Content

1.

Introduction

2 Lessons

Get familiar with C++20 concepts, enhancing type safety and improving template usability.

2.

The Concept Behind C++ Concepts

5 Lessons

Discover the logic behind C++20 concepts, enhancing template safety, clarity, and performance.

8.

Summary

1 Lessons

Learn how to use C++ concepts to enhance type safety and simplify templates.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.

Course Author:

Developed by MAANG Engineers
Every Educative resource is designed by our in-house team of ex-MAANG software engineers and PhD computer science educators — subject matter experts who’ve shipped production code at scale and taught the theory behind it. The goal is to get you hands-on with the skills you need to stay ahead in today's constantly evolving tech landscape. No videos, no fluff — just interactive, project-based learning with personalized feedback that adapts to your goals and experience.

Trusted by 2.7 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

Adaptive Learning

Explain with AI

AI Code Mentor

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath