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

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

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.

Intermediate

68 Lessons

3h 20min

Certificate of Completion

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.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

66 Playgrounds
6 Quizzes

This course includes

66 Playgrounds
6 Quizzes

Course Overview

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 messa...Show More

TAKEAWAY SKILLS

Templates

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

What You'll Learn

Learn to use concepts to create more powerful programs

Show more

Course Content

1.

Introduction

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

The Concept Behind C++ Concepts

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

Summary

1 Lesson

Learn how to use C++ concepts to enhance type safety and simplify templates.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Souvik Kundu

Front-end Developer

Eric Downs

Musician/Entrepeneur

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

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.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

FOR TEAMS

Interested in this course for your business or team?

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