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

  1. These two calls both invoke the derived1 definition of f().  The
  2. definition of f() in base1 accepts an int argument, but this
  3. definition is hidden in derived1 objects.  Thus, when f() is
  4. called with an int argument, the argument is converted to a float
  5. and the derived1 definition of f() is invoked.
  6.