home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH14 / A14114.TXT < prev    next >
Encoding:
Text File  |  1993-09-27  |  354 b   |  7 lines

  1. The following example shows that when a virtual function is called
  2. from a pointer, the definition that is invoked depends on the
  3. object that is being pointed to, not on the pointer itself.
  4. Similarly, when a virtual function is called from a reference, the
  5. definition that is invoked depends on the object that is referred
  6. to, not on the reference.
  7.