Part IV. Object-Oriented and Generic Programming
CONTENTS
Chapter 15 Object-Oriented Programming
Chapter 16 Templates and Generic Programming
Part IV extends the discussion of Part III by covering how C++ supports object-oriented and generic programming.
Chapter 15 covers inheritance and dynamic binding. Along with data abstraction, inheritance and dynamic binding are fundamental to object-oriented programming.
Chapter 16 covers function and class templates. Templates let us write generic classes and functions that are independent of type.
Writing our own object-oriented or generic types requires a fairly good understanding of C++. Fortunately, we can use OO and generic types without understanding the details of how to build them. In fact, ...
Get C++ Primer, Fourth Edition 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.