I wasn't referring to member functions but to member variables. ie I declare a class with a member variable
Code:
class Myclass
{
int myvariable;
NestedClass Nestor;
};
Nestor::Function()
{
myvariable=21; //I have access to the member variable without
} //without passing the variable through a parameter list; this ties this
//function to this variable name meaning if i changed it i would have to
//come back here and modify this function
[edit]
Nevermind I got the terminology wrong. I don't think I am dealing with a nested class. Just nested objects.