C++中虚函数底层实现机制的探讨  

Probe into Underlying Mechanism of Virtual Function in C++

在线阅读下载全文

作  者:张海平[1] 杜军[1] 崔英杰[1] 

机构地区:[1]深圳信息职业技术学院电子通信技术系,深圳518029

出  处:《电脑编程技巧与维护》2011年第2期30-31,共2页Computer Programming Skills & Maintenance

摘  要:分析了C++中虚函数的使用方法,运用反汇编手段对虚函数底层实现机制进行了探讨,并研究了构造函数和析构函数中的虚函数调用。This paper analyzes the using method of the virtual functions in C++,probe into underlying mechanism of virtual function by disassemble means,and study on the virtual function use in the constructor and destructor.

关 键 词:C++ 虚函数 多态 底层实现机制 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象