Boost logo

Boost :

From: John Femiani (JOHN.FEMIANI_at_[hidden])
Date: 2007-10-08 18:55:43

> -----Original Message-----
> From: boost-bounces_at_[hidden]
> On Behalf Of Simonson, Lucanus J
> Sent: Monday, October 08, 2007 3:49 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] [GTL] - geometric template library -
> determininginterest
> John Femiani wrote:
> >I remember reading somewhere that sometimes inheritance can be a
> >produce smaller type than composition in some cases.
> In the case that virtual functions are used by both the base and
> class inheritance will not incur the additional overhead of an extra
> virtual pointer that composition would do. In this case also the
> reinterpret cast from one to the other would be non-safe. This is not
> the case in my design pattern since I don't use virtual functions in
> classes that derive from the template argument.
> Luke
> _______________________________________________
> Unsubscribe & other changes:

I think there is also something about classes with no data members.

-- John

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