home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH13 / A13134.TXT < prev    next >
Encoding:
Text File  |  1993-11-25  |  414 b   |  8 lines

  1. You cannot declare a function that takes as an argument an object
  2. of an abstract class type.  To satisfy such an argument, the
  3. compiler would have to create an object of the abstract class in
  4. the function scope.  In this example, the declaration of f()
  5. causes a compile-time error.  The declaration of g() does not
  6. cause a compile-time error because the argument is a reference to
  7. an abstract class object.
  8.