Performance impact of virtual inheritance
I am considering using virtual inheritance in a real-time application. Does using virtual inheritance have a performance impact similar to that of calling a virtual function? The objects in question would only be created at start up but I'm concerned if all functions from the hierarchy would be dispatched via a vtable or if only those from the virtual base class would be. Common implementations will make access to data members of virtual base classes use an additional indirection. As James points out in his comments, calling a member function of a base class in a multiple inheritance scenario