Boost logo

Boost :

Subject: Re: [boost] [intrusive] rtti_base class proposition
From: Scott McMurray ([hidden])
Date: 2009-10-21 14:09:54

2009/10/21 Ireneusz Szpilewski <irek_at_[hidden]>:
> Don't look at class hierarchy, look at object.  It  would be  composed of
> many
> other subobjects (by means of multiple inheritance), just as a human body is
> composed of different organs.

How do you implement a heart transplant when you inherit from your
heart, rather than contain it?

(Not that I think arguing by analogy is a good idea.)

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