bearophile wrote:
If even Andrei, a quite intelligent person that has written big books
on C++, may be wrong on such a basic thing, then I think there's a
problem.

Not everyone is an expert on everything, and how vptrs and vtbl[]s and casting actually work for multiple inheritance is far from being a basic thing.

Furthermore, different compilers implement these things differently. Last I heard, Java did it the way Andrei described.

Don Clugston wrote an article a few years ago on this, and found a wide variety of implementation strategies. The Digital Mars one was the fastest <g>.

Reply via email to