Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Using Concepts - C++ Design in a Concept World - Part 1 of 2

CppNow via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial covers using and writing C++20 concepts, including standard library concepts, concept definitions, and design choices for functions and libraries. Examples include refactoring std::sleep_for and designing an interval concept that works with multiple types.

Syllabus

Introduction
Motivation
About me
Goals
Good vs Bad Concepts
Templates
History
Concept Definition
Types vs Concepts
Concept Code
Notable Concepts
Using Concepts
First Question
Basics
Limitations
Printable Concept
Valid Code
Error Message
Compile
Overload Resolution
PrintLine
Traditional Solution
New Concept
How will I use this
Print
Printable overload
Output stream
Concept error message
Static if const
Cons

Taught by

CppNow

Reviews

Start your review of Using Concepts - C++ Design in a Concept World - Part 1 of 2

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.