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

YouTube

From Templates to Concepts - Metaprogramming in C++

CppNow via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk traces changes in C++ metaprogramming and demonstrates how C++20 concepts can express a template metaprogramming example more clearly than techniques from C++11–17. It is aimed at C++ developers seeking to improve their metaprogramming skills.

Syllabus

Introduction
Templates
CPP
Code
What we will do
Trades
Complex Traits
Print Function
Print Helper
aliasing
type dispatching
Auto parameter to function
Nested iterator
Substitution
Container
Enable
Print
Fold
Concepts
Containers
Dark Territories
Void
Problems
People are afraid
The interesting part
Concept Library
Concept in C
The problem
The solution
Template is ignored
Constrating variables
Name concept
Conjunctions
Atomic constraint
Primary Expressions
Required Expressions
Example
Type Check
Using Concepts

Taught by

CppNow

Reviews

Start your review of From Templates to Concepts - Metaprogramming in C++

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.