首页 > 其他 > 详细

Virtual method table

时间:2016-11-30 02:29:20      阅读:172      评论:0      收藏:0      [点我收藏+]

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

原文:http://www.cnblogs.com/autoria/p/6115985.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!