home *** CD-ROM | disk | FTP | other *** search
- The following example shows that when a virtual function is called
- from a pointer, the definition that is invoked depends on the
- object that is being pointed to, not on the pointer itself.
- Similarly, when a virtual function is called from a reference, the
- definition that is invoked depends on the object that is referred
- to, not on the reference.
-