Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-04-18 23:06:57


----- Original Message -----
From: "Alex Rosenberg" <alexr_at_[hidden]>

> 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.

G++ 3.0.x reportedly does.

> > My proposal is to use a single composite policies base class to
avoid
> > the MI overhead implicit in quite a few compilers.
>
> If all policies can be reduced to a single base, then there's no
problem.
> Loki uses MI policies in several areas. Andrei previously expressed
concern
> over this issue in a post to comp.std.c++:
>
>
<http://groups.google.com./groups?hl=en&threadm=9eca6o%242153m%241%40ID-
1403
>
6.news.dfncis.de&rnum=2&prev=/groups%3Fq%3Dandrei%2Bempty%2Bbase%26hl%3D
en>

I believe I was the one who brought it to his attention ;-)

-Dave


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