Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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