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

Intermediate

68 Lessons

3h 20min

Certificate of Completion

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

2.

The Concept Behind C++ Concepts

3.

Four Ways to use Concepts in Functions

4.

C++ Concepts with Classes

5.

Concepts Shipped with the C++ Standard Library

6.

How to Write Your Own C++ Concepts

21 Lessons

7.

How to Use C++ Concepts in Real Life

8 Lessons

8.

Summary

1 Lesson

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

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

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

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