Base class as method argument
Modern object-oriented programming languages won’t allow you to access protected members of base classes when they are used as parameters in the derived class. At first you may find this strange, but I’ll try to explain the reasoning behind this behaviour. Read along →