C++ 继承中类作用域

来源:互联网 发布:辅助软件定制 编辑:程序博客网 时间:2024/06/15 19:13

15.5. Class Scope under Inheritance

Under inheritance, the scope of the derived class is nested within the scope of its base classes.If a name is unresolved within the scope of the derived class, the enclosing base-class scope(s) are searched for a definition of that name.

0 0