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