I understand the basics of C++ virtual inheritance. However, I\'m confused about where exactly I need to use the virtual
keyword with a complex class hierarchy. F
My personal suggestion would be to start at B and C : virtual A, and then keep adding until the compiler stops complaining.
In reality, I'd say that B and C : virtual A, G and H : virtual E, and E : virtual B and C. All the other inheritance links can be normal inheritance. This monstrosity would take like six decades to make a virtual call, though.