Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #10781
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Ian Collins <ian-news@hotmail.com> |
| Newsgroups | comp.lang.c++ |
| Subject | Re: sizeof class |
| Date | Tue, 11 Oct 2011 08:23:07 +1300 |
| Lines | 10 |
| Message-ID | <9fgv0rFda1U1@mid.individual.net> (permalink) |
| References | <21470027.1607.1318270963966.JavaMail.geo-discussion-forums@prdw1> <j6vdje$hqj$1@speranza.aioe.org> <30470378.1681.1318274028862.JavaMail.geo-discussion-forums@prmr25> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net IJ2W9cIDrJAnrFTbGCPSkQx+r3c2qS10I5IkWkxmBGn+8SfTDw |
| Cancel-Lock | sha1:+7yB9KgG1ot5KcHA052X4Zq84qo= |
| User-Agent | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4 |
| In-Reply-To | <30470378.1681.1318274028862.JavaMail.geo-discussion-forums@prmr25> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.c++:10781 |
Show key headers only | View raw
On 10/11/11 08:13 AM, asit wrote: What are you replying to? Please keep context. > Hence the size should be 5 bytes(4 for v-pointer + 1 for char). Then why its is of 8 bytes ? The size of a class with a virtual base is implementation defined. -- Ian Collins
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
sizeof class asit <lipun4u@gmail.com> - 2011-10-10 11:22 -0700
Re: sizeof class Gerald Breuer <Gerald.Breuer@googlemail.com> - 2011-10-10 20:30 +0200
Re: sizeof class asit <lipun4u@gmail.com> - 2011-10-10 12:13 -0700
Re: sizeof class Ian Collins <ian-news@hotmail.com> - 2011-10-11 08:23 +1300
Re: sizeof class Victor Bazarov <v.bazarov@comcast.invalid> - 2011-10-10 15:28 -0400
Re: sizeof class Gerald Breuer <Gerald.Breuer@Use-Author-Supplied-Address.invalid> - 2011-10-10 22:25 +0200
Re: sizeof class Markus Wichmann <nullplan@gmx.net> - 2011-10-10 22:48 +0200
csiph-web