Re: Question on virtual inheritance
On Apr 24, 3:58 pm, "Victor Bazarov" <v.Abaza...@comAcast.net> wrote:
ambarish.mi...@gmail.com wrote:
[...]
A pointer to the virtual base class subojbect[s] is usually stored
in the class (just like a pointer to the virtual function table),
There are at least two different solutions: CFront stored a
pointer to the virtual base in the class, but other
implementations put the information necessary to do the fix-up
in the vtable. It's also possible to use thunks to do any
fixing up needed; these would also be in the vtable.
Beyond that, there are a number of variations possible in the
details, and as you said, the only way to find out is to ask in
a forum dedicated to the compiler in question, or to look it up
in the compiler's documentation.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34