⚡ Build the skills to land top-paying quant jobs. Offer ends in 23d 14h 02m 46s23 days 14 hours 2 minutes 46 seconds.
⚡ Build the skills to land top-paying quant jobs. Offer ends in 23d 14h 02m 46s23 days 14 hours 2 minutes 46 seconds.

Sign in to watch this lesson
Runtime Polymorphism · 3:49
How can one function work with many kinds of container without knowing which one it was handed? We build Stroustrup's Container interface with pure virtual functions, implement it twice (a vector and a linked list), watch the same call land in different code, and see why polymorphic objects are used through references and pointers rather than stored by value.