Virtual method table
Posted autoria
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Virtual method table相关的知识,希望对你有一定的参考价值。
https://en.wikipedia.org/wiki/Virtual_method_table
The g++ compiler implements the multiple inheritance of the classes B1
and B2
in class D
using two virtual method tables, one for each base class. (There are other ways to implement multiple inheritance, but this is the most common.) This leads to the necessity for "pointer fixups", also called thunks, whencasting.
以上是关于Virtual method table的主要内容,如果未能解决你的问题,请参考以下文章