Introduction to OOP: Chapter 15 : Case Study: Container Classes
[next]
[previous]
[audio]
[real]
[text]
Three Solutions
We will examine three different solutions to this problem:
Containers maintain elements derived from a common parent class.
Containers maintain pointers, which can be cast to appropriate type.
Templates
Intro OOP,
Chapter 15
, Slide 5