From: Giovanni Bajo (giovannibajo_at_[hidden])
Date: 2002-05-02 09:51:11


----- Original Message -----
From: "Andrei Alexandrescu" <andrewalex_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.devel
To: <boost_at_[hidden]>
Sent: Thursday, May 02, 2002 5:46 AM
Subject: [boost] Problem solved: EBO pessimization in smart_ptr not an issue
anymore!

> The idea is to use derivation only for those policies that are
> nonempty, and
> to simply not derive at all from policies that are empty. Then, when
> using
> policies inside smart_ptr, you use the base accessor syntax, for
> example:
> [...]
> Anyway - we made a step forward.

Just a note. Do you guys think it is worth adding a BOOST_NO_EBO, and use
this technique just as a fallback? I don't usually like seeing so much
(meta-)code added to a library just to work around limitations of some
compilers, unless it is well separated.

Giovanni Bajo