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

YouTube

From C++ Templates to C++ Concepts - The Amazing Journey of Metaprogramming

CppCon via YouTube

Overview

Embark on an enlightening journey through the evolution of C++ metaprogramming in this CppCon conference talk. Explore the progression from C++ templates to concepts, tracing the history of metaprogramming techniques from C++98 to modern standards. Discover how each iteration of the language has simplified and improved code readability, with a focus on developing a container concept. Gain insights into template metaprogramming fundamentals, witness the benefits of newer C++ standards through numerous code examples, and learn how C++20 concepts streamline complex metaprogramming tasks. Delve into advanced topics such as function templates, overload specialization, constraints, traits, and periodic templates, culminating in a comprehensive understanding of container concepts and their implementation across different C++ versions.

Syllabus

Introduction
About Alex
Templates
Function Templates
Overload Specialization
Trade Library
Constraints and Traits
Void Pointer
Container Detection
Templates Overload
EnableIf
Periodic Templates
Void Template
Container Concept
Problems with Container Concepts
C20 Concepts
C21 Concepts
Conclusion
Questions

Taught by

CppCon

Reviews

Start your review of From C++ Templates to C++ Concepts - The Amazing Journey of Metaprogramming

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.