Boost logo

Boost :

Subject: Re: [boost] [intrusive] rtti_base class proposition
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2009-10-21 14:54:20


2009/10/21 Ireneusz Szpilewski <irek_at_[hidden]>:
> Scott McMurray wrote:
>>
>> How do you implement a heart transplant when you inherit from your
>> heart, rather than contain it?
>>
>
> Before transplant:
>
> class Me: private MyHeart
> {
> };
>
> After transplant:
>
> class Me: private SombodyElsesHeart
> {
> };
>

And how exactly are you supposed to make that change at runtime?
(That's not a heart transplant; That's growing a clone body around the
new heart.)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk