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

C++中多重继承使用方法剖析
引用本文:杨海涛,孙燕.C++中多重继承使用方法剖析[J].内蒙古民族大学学报(自然科学版),2009,24(4):385-388.
作者姓名:杨海涛  孙燕
作者单位:内蒙古民族大学,数学学院,内蒙古,通辽,028043
摘    要:本文主要是对C++中多重继承编程方法进行分析,多重继承是很少几种语言实现的机制之一,它需要性能保证和复杂对象结构的处理和访问技巧.具有多重继承的结构在程序规模扩大以后,在现有编程方法之下会变得不可收拾,所以只有非常专业的软件开发者会系统化地使用多重继承,C++的标准库中用到了一些多重继承,是商品化的资源.但未来的C++趋势是要淡化多重继承.

关 键 词:多重继承  虚基类  派生类  虚函数

In C++ Multi-Inheritance the Application Method to Analyze
YANG Hai-tao,SUN Yan.In C++ Multi-Inheritance the Application Method to Analyze[J].Journal of Inner Mongolia University for the Nationalities(Natural Sciences),2009,24(4):385-388.
Authors:YANG Hai-tao  SUN Yan
Institution:(CoUege of Mathematics,Inner Mongolia University for Nationalities,Tongliao 028043,China)
Abstract:This article is mainly multi-inheritance the programming method to the analysis for C++.Multi-inheritance is one which of mechanisms the very few several languages realize,it needs the performance guarantee and complex object structure processing and the visit skill.Has structure which multi-inheritance after procedure scale expansion,will become under the existing programming method beyond redemption,therefore only then the very specialized software exploiter will systematize uses multi-inheritance,in the C++ standard store used some multi-inheritance.It was the commercialized resources.But future C++ tendency will be must desalinate multi-inheritance.
Keywords:Muhi-inheritance  Virtual base-class  Derived class  Virtual function
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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