I am reading some C++ text at the address https://cs.senecac.on.ca/~chris.szalwinski/archives/btp200.082/content/dclas.html. At the beginning, the author wrote:
“A derived class with depth is a derived class that accesses resources through one or more of the derived class' instance variables.“
I really dont get this definition, although I can understand the rest of the text. Can anyone give me a clear explanation or an example?
I suppose it refers to a chain of derived classes: