Adding New Code to a Running C++ Program
01 January 1990
Inheritance in C++ provides a type-safe way for existing code to manipulate objects of a derived class, since an object of a derived class (a subtype) can appear where an object of a base class (a supertype) is expected. Once a new derived class is linked into a running program, using an incremental linker, the original program can safely manipulate derived objects instead of base objects.