Hi,
i am trying to understand the concept of virtual base class mechanism. i am not able to understand about it. as per my understanding, the virtual base class is shared in it's derived classes. i wanted to understand the internal implementation done by the compiler [similar to the Vptr and Vtbl implementation in case of using virtual function in class hairarchy]. so i need help in understanding how the virtual base class is shared to resolve the diamond shape problem.
thanks in advance.
Sanjay
i am trying to understand the concept of virtual base class mechanism. i am not able to understand about it. as per my understanding, the virtual base class is shared in it's derived classes. i wanted to understand the internal implementation done by the compiler [similar to the Vptr and Vtbl implementation in case of using virtual function in class hairarchy]. so i need help in understanding how the virtual base class is shared to resolve the diamond shape problem.
thanks in advance.
Sanjay