A Journey Into Non-Virtual Polymorphism in C++ - Lecture
2,000+ Free Courses with Certificates: Coding, AI, SQL, and More
The Most Addictive Python and SQL Courses
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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