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

YouTube

A Journey Into Non-Virtual Polymorphism in C++ - Lecture

CppCon via YouTube

Overview

Explore non-virtual polymorphism in C++ through this comprehensive conference talk from CppCon 2023. Delve into advanced topics including std::any, std::variant and visit, std::tuple and apply, and the Curiously Recurring Template Pattern (CRTP). Discover how polymorphism extends beyond class inheritance and virtual functions, with a focus on modern C++ techniques. Learn about the override pattern using lambdas to handle std::tuples and std::variants with std::apply and std::visit. Gain insights on traversing containers of diverse types and invoking their functions through numerous code examples. Perfect for developers looking to expand their C++ knowledge and stay current with the latest language standards.

Syllabus

A Journey Into Non-Virtual Polymorphism in C++ - Rudyard Merriam - CppCon 2023

Taught by

CppCon

Reviews

Start your review of A Journey Into Non-Virtual Polymorphism in C++ - Lecture

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.