home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!gatech!concert!uvaarpa!murdoch!virginia.edu!gs4t
- From: gs4t@virginia.edu (Gnanasekaran Swaminathan)
- Subject: Re: operator = with inheritance
- Message-ID: <1993Jan21.162116.24219@murdoch.acc.Virginia.EDU>
- Sender: usenet@murdoch.acc.Virginia.EDU
- Organization: University of Virginia
- References: <1993Jan14.164920.16813@PacBell.COM> <727561220snx@trmphrst.demon.co.uk> <1993Jan20.221834.26489@virginia.edu> <1993Jan21.022943.12381@ucc.su.OZ.AU>
- Date: Thu, 21 Jan 1993 16:21:16 GMT
- Lines: 11
-
- maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
- : It wont cope with class C: public A though:
- : this will still slice the A part of a C object onto the A part
- : of a B object. What else COULD it do?
-
- A
- / \
- B C
-
- Since, B and C has only A part common, that is
- the appropriate thing to do, isn't it?
-