It has become appallingly obvious that our technology has exceeded our humanity.
My God, you’ve gotten fat!
|--Edna Mole, The Incredibles|
In this chapter we look at the adaptation of collections that are fully fledged containers (Section 2.2)—they own their elements, manage their memory, control their lifetimes, and provide operations by which they may be manipulated. For subject matter we’ll be using the array containers from the Microsoft Foundation Classes (MFC) library. Those of you gentle readers who may wish to run away at the mere mention of MFC, please staunch your understandable sentiment. It is the very anachronism of these containers that makes them suitable ...