Figure 3: Vtable, typeid, and base-class structure for Listing 1.