ABSTRACT

An important facet of parent-child inheritance is the child’s ability to tailor any function that would otherwise be conveyed from the parent. In Chapters 12 and 13, the child-class functions didn’t do anything other than slice and forward. They couldn’t do much more than that because the child classes inherited all of their data from the parent. Closely related to member function tailoring is the child’s ability to go beyond inheritance by adding private member variables, public member variables, and member functions.