Chapter 15. Virtual Functions and other Advanced Uses of Inheritance

Topics in this Chapter

In the previous chapter, we discussed the UML notation for representing client-server relationships and looked at the techniques of implementing these relationships in C++ programs.

The most common relationship is the relationship of containment (composition or aggregation). The most common implementation of this relationship is making an object of the server class a data member of the client class. The server object is operated on exclusively by its client object ...

Get Core C++ A Software Engineering Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.