3 ms·
> In classes with larger inheritance chains, you can easily have more than one pointer dereferencing taking place before you call a virtual members function. T
by oasisaimlessly 2y ago
> In classes with larger inheritance chains, you can easily have more than one pointer dereferencing taking place before you call a virtual members function.
This is not a thing in C++; vtables are flat, not nested. Function pointers are always 1 dereference away.