Article View: comp.std.c++
Article #1235Re: Must derived class reserve space for an empty base class?
From: Jim Adcock
Date: Mon, 14 Dec 1992 22:40
Date: Mon, 14 Dec 1992 22:40
19 lines
1145 bytes
1145 bytes
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?
Technical Details
Message-ID:
<1992Dec14.224035.23715@microsoft.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!microsoft!hexnut!jimadReferences:
<1992Dec10.194445.24332@microsoft.com> <5367@miramon.lulea.trab.se>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++ Path: arc1-ca.pugleaf.net!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