虚拟方法调用如何在C ++中工作? [英] How does virtual method invocation work in C++?
本文介绍了虚拟方法调用如何在C ++中工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
虚拟方法调用如何在C ++中运作?
解决方案
p>
阅读这篇文章, http://en.wikipedia。
How does Virtual Method Invocation work in C++?
解决方案
Through virtual tables.
Read this article, http://en.wikipedia.org/wiki/Virtual_table.
I could explain it here, but the wikipedia does a better job than I could.
这篇关于虚拟方法调用如何在C ++中工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文