摘要
本文讲述了在Visual C++6.0环境下,在含有虚拟基类、非虚拟基类及成员对象的多重继承的情现下,C++中派生类的构造函数的执行顺序。
This paper describes the executing order of the constructor for derived class in C++, under the Visual C++ 6.0 environment and multi-inherited where there are virtual base class, non-virtual base class and member objects.
出处
《电脑知识与技术》
2006年第5期153-153,197,共2页
Computer Knowledge and Technology
关键词
构造函数
虚拟基类
成员对象
多重继承
Constructor
Virtual Base Class
member objects
multi-inherited