Subject: Re: [boost] [intrusive] rtti_base class proposition
From: Ireneusz Szpilewski (irek_at_[hidden])
Date: 2009-10-21 16:47:19
Scott McMurray wrote:
> 2009/10/21 Ireneusz Szpilewski <irek_at_[hidden]>:
>> Don't look at class hierarchy, look at object. It would be composed of
>> 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?
class Me: private MyHeart
class Me: private SombodyElsesHeart
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk