Polymorphism

In this lesson we deal with the concept of using std::vector and std::variant in Polymorphism. Interesting? Read on to find out more!

We'll cover the following...

Most of the time in C++, we can safely use runtime polymorphism based on a vtable approach. You have a collection of related types that share the same interface, and you have a ...