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

YouTube

Concept-based Generic Programming

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn concept-based generic programming techniques in this conference talk from CppCon 2025, where C++ creator Bjarne Stroustrup demonstrates how to use concepts to express constraints on generic code. Explore programming techniques that illustrate the facilities and principles of C++ generic programming, starting with a simple type system that eliminates narrowing conversions and provides range checking. Discover how concepts serve as user-defined extensions to the type system throughout various examples designed to showcase their utility and fundamental principles rather than providing exhaustive language documentation. Examine the final sections covering design rationales and origins for key parts of the concept design, including use patterns, relationships to Object-Oriented Programming, value arguments, syntax, concept type-matching, and definition checking. Gain insights into static reflection and C++26 improvements in general programming support from the designer and original implementer of C++, who brings decades of experience from Bell Labs and ongoing leadership in ISO C++ standards development.

Syllabus

Concept-based Generic Programming - Bjarne Stroustrup - CppCon 2025

Taught by

CppCon

Reviews

Start your review of Concept-based Generic Programming

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.