VTABLE在哪里创建?堆还是堆? [英] where is VTABLE get created? Heap or Stack?
本文介绍了VTABLE在哪里创建?堆还是堆?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
当创建VTABLE时,编译时或运行时?
以及它的创建位置?
请任何人都可以解释。
问候
Ranjith
解决方案
http:// www。 programmerinterview.com/index.php/c-cplusplus/how-vtables-work/ [ ^ ]
http://geeksforgeeks.org/forum/topic/where-does-vtable-get-stored [ ^ ]
1. http://stackoverflow.com/questions/1905237/where-in-memory-is-vtable-stored
2. http://www.learncpp.com/cpp-tutorial/125-the-virtual-table 一>
Hi All,
when VTABLE is get created ,while compile time or runtime?
and where its get created?
Please any one can explain.
Regards
Ranjith
解决方案
http://www.programmerinterview.com/index.php/c-cplusplus/how-vtables-work/[^]
http://geeksforgeeks.org/forum/topic/where-does-vtable-get-stored[^]
good answer in
1. http://stackoverflow.com/questions/1905237/where-in-memory-is-vtable-stored
2. http://www.learncpp.com/cpp-tutorial/125-the-virtual-table
这篇关于VTABLE在哪里创建?堆还是堆?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文