home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / cplus / 19676 < prev    next >
Encoding:
Text File  |  1993-01-21  |  852 b   |  23 lines

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