[orbitcpp-list] to hell with inheritance ;)
Status: Beta
Brought to you by:
philipd
|
From: Andreas K. <ak...@ix...> - 2000-03-05 13:53:43
|
Hi Phil, something came to my mind just this moment. we cannot use inheritance on the stubs, right? We may single-inherit them from CORBA::Object, but that's about it. If we use virtual inheritance, the compiler will add some thunking data, which will be broken (i.e. non-existent) the very moment we reinterpret_cast a CORBA_Object_struct to be a stub. yet, the spec demands implicit widening, so we need to add cast operators for each and every base class. correct? is there any way around this? bye, andy PS: If any of my recent rather technical question-answer-style posts to this list seemed rude or too demanding to you, I'd like to say sorry for this. I didn't mean to be offensive in any way, just in case you felt it to be like this. :) |