Limited-Time Offer: Up to 75% Off Coursera Plus!
7000+ certificate courses from Google, Microsoft, IBM, and many more.
This course teaches learners how to effectively replace dynamic polymorphism with std::variant in C++. By analyzing and comparing different implementations of a Finite State Machine, participants will discover that using std::variant not only improves performance but also enhances interface definition and program flow. The course concludes with a discussion on the advantages and disadvantages of each approach, providing guidelines on when to utilize them. The intended audience for this course includes software architects, chief engineers, C++ developers, and individuals interested in enhancing code performance, low latency, stability, and security through Modern C++ practices. The teaching method involves a lecture format with practical examples and comparative analysis.