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