Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-07 15:21:30

----- Original Message -----
From: "Andrei Alexandrescu" <andrewalex_at_[hidden]>

> If practical experience is of any relevance:
> * Users complained about SmartPtr being bigger than it ought to. That is
> to multiple inheritance. If I understand correctly, a compiler is not
> allowed to appy EBO to all base classes in a multiple-inheritance scheme.

It is, as long as the bases aren't derived from a common base. Most
compilers won't do that, though g++ 3.x will.

> A single inheritance solution with nested templates would avoid this


> * Users did not complain about SmartPtr being limited, unnecessarily
> complex, hard to use, or not validating their designs.


Boost list run by bdawes at, gregod at, cpdaniel at, john at