摘要
本文在剖析实践的基础上,对面向对象语言C++中体现封装性、继承性、多态性的诸多机制的底层实现进行了探讨,其中重点讨论了类、对象、虚函数、单一继承、多重继承、虚基类、构造函数和析构函数等在底层的实现方法和工作原理,力图从一个新的角度认识C++.
The low - level
implementation methods and principles of many ob- ject - oriented mechanisms, including class,
object, virtual member function, single inheritance, multiple inhertance, virtual class, constructor
and destructor, are investigated in this paper. It offers programmers a new view of object - oriented
language.
出处
《华南师范大学学报(自然科学版)》
CAS
1998年第4期135-140,共6页
Journal of South China Normal University(Natural Science Edition)
关键词
面向对象
底层实现
C++语言
封装性
程序设计
object - oriented
low - level implementation
inheritance
virtual member
funcition