Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-04-18 23:05:18


On Thursday 18 April 2002 11:00 pm, you wrote:
> > Implementations are already allowed to optimize away empty bases, and
> > some do.
>
> I have yet to see a compiler that can perform the empty base optimization
> with multiple bases. Of course, I'd love to be surprised.

>From my own tests, GCC 3.0.x does a wonderful job with the empty base class
optimization in the presence of multiple inheritance. Other compilers would
likely do very well too, but it's not every day you get to throw out support
for your old ABI and write a new one.
        
        Doug


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk