Suppose I have a class Parent and a class Child. Child is an inherited class of Parent. Child also has a class function Function() (which is not a base class function).
I then have another class Process, which takes objects of class Parent by reference in its constructor (for the purposes of generality). The actual object that is fed in in main() however is of class Child - let call this childArg.
I realise that pre-compilation, Process doesn't know that childArg is of class Child yet.
So how do you call the Child class Function() within the source code of Process?