home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / std / cplus / 1778 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.std.c++
  2. Path: sparky!uunet!microsoft!hexnut!jimad
  3. From: jimad@microsoft.com (Jim Adcock)
  4. Subject: Re: Must derived class reserve space for an empty base class?
  5. Message-ID: <1992Dec14.224035.23715@microsoft.com>
  6. Date: 14 Dec 92 22:40:35 GMT
  7. Organization: Microsoft Corporation
  8. References: <1992Dec10.194445.24332@microsoft.com> <5367@miramon.lulea.trab.se>
  9. Lines: 19
  10.  
  11. In article <5367@miramon.lulea.trab.se> jbn@lulea.trab.se (Johan Bengtsson) writes:
  12. |Jim Adcock (jimad@microsoft.com) wrote:
  13. |[ Questionable C example involving compiler-generated conversion
  14. |  to void* deleted ]
  15.  
  16. On the contrary, unquestionably conforming C example involving conversions
  17. to char*.
  18.  
  19. |The fact that applying the adress operator (&) to a reference yields
  20. |a pointer to the referred-to object is irrelevant, since a reference
  21. |is just an alias for the referred-to object.  You cannot obtain
  22. |a pointer to a reference (as you already know).  This should not cause
  23. |any trouble.
  24.  
  25. Excuse me?
  26.  
  27. |Perhaps with this clarification you can finally agree with us?
  28.  
  29. I guess I don't understand what you are asking me to agree to?
  30.