Lecture 5 - Slide 7 : 40 |
We show an example that involves virtual functions
I C++11 it is recommended always to use the (contextual) keyword override to state your intension of overriding a virtual member function
override is a redundant means of expression, intended to cath errors as early as possible