Topic: scoping nested classes
Author: kearns@softrue.UUCP (Steven Kearns)
Date: 23 Feb 91 00:15:36 GMT Raw View
The way I interpret the scope of nesting classes, to look up a name
used within Inner, one would check the scopes of Inner, InnerBase,
Outer, OuterBase, and finally global. Anyone care to correct me?
class Outer : OuterBase {
class Inner : InnerBase {
int joe;
};
int fobble;
};
********************************************************
* Steven Kearns ....uunet!softrue!kearns *
* Software Truth softrue!kearns@uunet.uu.net *
********************************************************