首页 | 本学科首页   官方微博 | 高级检索  
     检索      

C ++编译器多态性实现的一种改进方法
引用本文:王冬,吕慧娟.C ++编译器多态性实现的一种改进方法[J].北京联合大学学报(自然科学版),2007,21(1):49-51.
作者姓名:王冬  吕慧娟
作者单位:河南大学,计算中心,河南,开封,475001;河南大学,计算中心,河南,开封,475001
基金项目:河南省教育厅自然科学基金
摘    要:针对C 编译器在多态性处理机制中存在的不足之处,分析其原因,并借鉴其他面向对象语言的多态性处理机制,在将两种多态性处理机制相结合的基础上加以改进,形成一种新的多态性处理机制来提高C 编译器的执行效率,扩大其适用范围,增加其灵活性,进而提高系统的整体性能。

关 键 词:多态性    虚函数  编译器
文章编号:1005-0310(2007)01-0049-03
收稿时间:2006-06-21
修稿时间:2006年6月21日

Improved Implementation of Polymorphism in C ++ Compiler
WANG Dong,LV Hui-juan.Improved Implementation of Polymorphism in C ++ Compiler[J].Journal of Beijing Union University,2007,21(1):49-51.
Authors:WANG Dong  LV Hui-juan
Institution:Computer Center of Henan University, Kaifeng Henan 475001, China
Abstract:The default of implementation of Polymorphism in(C ) Compiler causes inefficiency.By analyzing its reasons and referring to other object-oriented language's implementation of Polymorphism,the two methods are improved and combined and the improvement and combination lead to a more efficient performance,wider use,more flexibility and enhanced system.
Keywords:polymorphism  class  virtual function  compiler
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号