|
From: Luigi B. <lui...@gm...> - 2008-02-28 16:44:16
|
On Thu, 2008-02-28 at 13:49 +0000, Simon Ibbotson wrote: > If the new object is of type T3 (not inherited from type T2, but is > inherited from type T1), then the dynamic cast to type T2 fails and the > pointer is set to NULL. I see. I still fail to see a use case, but no doubt you have one. Ok, send me the implementation if you have it---I'll have a look at it. Luigi -- All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer. -- IBM maintenance manual, 1925 |