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

YouTube

The Pattern Matching We Already Have

cpponsea via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the hidden pattern matching capabilities that have existed in C++ since the original 1998 standard in this comprehensive conference talk from C++ on Sea 2025. Discover how template argument deduction, function overload resolution, and class template specializations represent forms of pattern matching that developers use daily without realizing it. Learn the fundamental rules governing template argument deduction across C++'s evolution, from the foundational concepts in C++98 that remain relevant today to modern additions like C++11's move semantics and variadic templates, C++17's class template argument deduction, and C++20's concepts. Master the intricacies of forwarding references and std::forward, understanding when and how to properly forward arguments in various scenarios, including newer language features that can create unexpected situations even for experienced developers. Gain deep insights into type deduction mechanisms that underpin much of modern C++ programming, with practical examples and interactive explanations that build a solid foundation for understanding how the compiler deduces types in your code.

Syllabus

The Pattern Matching We Already Have - Braden Ganetsky - C++ on Sea 2025

Taught by

cpponsea

Reviews

Start your review of The Pattern Matching We Already Have

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.