Boost logo

Boost :

Subject: Re: [boost] [intrusive] rtti_base class proposition
From: Scott McMurray (me22.ca+boost_at_[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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk