From: Jason Merrill <jason@cygnus.com>
To: aschiem@count.math.uni-sb.de (Alexander Schiemann)
Cc: egcs@cygnus.com
Subject: Re: virtual inheritance: optimization for empty objects
Date: Wed, 31 Mar 1999 23:46:00 -0000 [thread overview]
Message-ID: <u9d82m2jie.fsf@yorick.cygnus.com> (raw)
Message-ID: <19990331234600.XLpDv6p8Lxmx5e4rBzo_ylL86In_F7zqIrFjC_o9VCo@z> (raw)
In-Reply-To: <199903042105.WAA19132.cygnus.egcs@count.math.uni-sb.de>
>>>>> Alexander Schiemann <aschiem@count.math.uni-sb.de> writes:
> - does this suggestion conform with the standard (two base subobjects
> having the same address)? I checked it, but perhaps
> I missed some requirement.
Yes. Only base subobjects of the same type are required to have different
addresses.
> - are there compilers that implement this kind of layout?
I don't know. IBM's may. They have a patent on having a vbase with no data
members share space with a derived class, which would not cover this
optimization; but it's in the same area, so they may have thought of it.
I hate software patents.
Jason
next parent reply other threads:[~1999-03-31 23:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199903042105.WAA19132.cygnus.egcs@count.math.uni-sb.de>
1999-03-06 17:09 ` Jason Merrill [this message]
1999-03-31 23:46 ` Jason Merrill
[not found] <nms.mail.egcs/199903042105.WAA19132@count.math.uni-sb.de>
[not found] ` <nms.mail.egcs/orn21tueds.fsf@araguaia.dcc.unicamp.br>
1999-03-14 11:01 ` Marc Girod
1999-03-14 11:15 ` Alexandre Oliva
[not found] ` < orlngz3n0r.fsf@dcc.unicamp.br >
1999-03-15 3:44 ` F. Heitkamp
[not found] ` < 199903151145.GAA14544@pc1.fred.org >
1999-03-15 16:07 ` Martin v. Loewis
1999-03-31 23:46 ` Martin v. Loewis
1999-03-31 23:46 ` F. Heitkamp
1999-03-31 23:46 ` Alexandre Oliva
[not found] ` < 1yk8wjdhf7.fsf@sinkku.ntc.nokia.com >
1999-03-14 11:45 ` Joe Buck
1999-03-31 23:46 ` Joe Buck
1999-03-14 11:52 ` Martin v. Loewis
1999-03-31 23:46 ` Martin v. Loewis
1999-03-31 23:46 ` Marc Girod
1999-03-04 13:05 Alexander Schiemann
1999-03-04 13:39 ` Alexandre Oliva
1999-03-31 23:46 ` Alexandre Oliva
1999-03-31 23:46 ` Alexander Schiemann
-- strict thread matches above, loose matches on Subject: below --
1999-03-04 12:56 Alexander Schiemann
1999-03-31 23:46 ` Alexander Schiemann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u9d82m2jie.fsf@yorick.cygnus.com \
--to=jason@cygnus.com \
--cc=aschiem@count.math.uni-sb.de \
--cc=egcs@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).