Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a 22-minute conference talk from ACCU 2019 that demonstrates how to effectively replace dynamic polymorphism with std::variant in C++. Analyze and compare multiple implementations of a simple Finite State Machine, discovering how variant-based code can be faster and improve interface design and program flow. Gain insights into the pros and cons of each approach and learn guidelines for when to use them. Benefit from the expertise of Mateusz Pusz, a software architect and C++ expert with over 14 years of experience, as he shares his knowledge on code performance, low latency, stability, and security in Modern C++.
Syllabus
Effective replacement of dynamic polymorphism with std::variant - Mateusz Pusz [ACCU 2019]
Taught by
ACCU Conference