home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH08 / A08114.TXT < prev    next >
Encoding:
Text File  |  1993-09-15  |  508 b   |  9 lines

  1. Objects of these two classes could represent lines of customers in
  2. a store.  In both, the data member "serving" is the person being
  3. served.  The member "waiting" refers to the line of people waiting
  4. to be served.  The version on the right is not valid because the
  5. definition of the type Lineup is not complete when the Lineup
  6. object "waiting" is declared.  The version on the left is valid
  7. because the compiler needs only the declaration of the type Lineup
  8. before constructing the pointer "waiting".
  9.