class baseClass{};
class derivedClass : public baseClass{};
baseClass *obj = new derivedClass ; // For simplicity, I amn't providing any-
// class members.
虽然发生了baseClass和derivedClass构造,但derivedClass成员对于obj是不透明的。那么,derivedClass构造有什么用呢?顺便说一句,我知道derivedC