C++ Language/ProgramFlow/FunctionOverloading/AcrossInheritance

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Instead of overloading each other, one function hides the other if it is in a derived-class.

Additional information about hiding instead of overloading (includes interactive examples)