Originally posted by Nowwin
When I saw the sizeof the object involving Virtual Base Classes, it was different then what I expected. What exactly is the logic ?
Depends on the compiler. One compiler can implement virtual base classes completely different from another compiler.

Your best bet into trying to figure it out is to actually get the specs for the compiler and its VBC implementation. I believe that some compiler vendors supply this information.

Regards,

Paul McKenzie