期刊文献+

C++中继承机制的语义剖析

Analysis of Semantics about Inheritance Mechanism in C++ Language
下载PDF
导出
摘要 面向对象编程语言的语义是目前面向对象技术中研究的重点之一,而其中继承机制的语义研究尤为重要。文章主要分析了C++语言中公有派生、私有派生和对象成员的语义,并且给出了这些语义的联系和区别。特别指出的是,在对象成员和私有派生都可用的情况下,尽可能用对象成员实现。 The research on OOPL's semantics is the focal point in OOT's research. The study of semantics about inheritance mechanism is especially important.Here mainly analyses the semantics of public derivation,private derivation and object member in C++ language, and also gives the differences and relations of their semantics. Specially pointing out, if both object member and private derivation can be used, should use object member as far as possible.
作者 李频
出处 《微机发展》 2003年第9期63-64,67,共3页 Microcomputer Development
关键词 C++ 面向对象 编程语言 继承机制 语义 inheritance semantics assignment compatible rules public derivation private derivation object member
  • 相关文献

参考文献4

  • 1宛延阔.C++语言和面向对象程序设计[M].北京:清华大学出版社,1998..
  • 2宛延门岂.C++语言和面向对象程序设计[M].北京:清华大学出版社,1998..
  • 3Meyers S. Effective C + +--50 Specific Ways to Improve Your Programs and Designs.[M]. Boston: Addison Wesley Publishing publishing Company, INC. 1992.
  • 4Bar-David T. Object-Oriented Design for C++[M]. Englewood Cliffs, N. J. :Prentice Hall, 1993.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部