home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / object / 2967 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  976 b 

  1. Path: sparky!uunet!email!vexpert.dbai.tuwien.ac.at!mst
  2. From: mst@vexpert.dbai.tuwien.ac.at (Markus Stumptner)
  3. Newsgroups: comp.object
  4. Subject: Re: "has-a" relation in C++ ? How ?
  5. Message-ID: <5594@vexpert.dbai.tuwien.ac.at>
  6. Date: 22 Jul 92 14:23:49 GMT
  7. References: <1992Jul22.142046.2003@informatik.uni-bremen.de>
  8. Organization: DB and ES Subdivision, TU Vienna
  9. Lines: 13
  10.  
  11. From article <1992Jul22.142046.2003@informatik.uni-bremen.de>, by lucy@lehre23.informatik.Uni-Bremen.DE (Holger Burde):
  12. >>>    Thats because you already know how to do it.
  13.  
  14. > what if you are facing a multilevel aggregat object ?
  15.  
  16. I don't recall class members being restricted to primitive types.  You
  17. define a car and motor class, and give cars a member of class motor,
  18. and so on.
  19.  
  20. -- 
  21. Markus Stumptner                                mst@vexpert.dbai.tuwien.ac.at
  22. University of Technology Vienna                 vexpert!mst@relay.eu.net
  23. Paniglg. 16, A-1040 Vienna, Austria             ...mcsun!vexpert!mst
  24.