As @Nawaz points out, in C++03 nested classes do not have special access rights to members of the enclosing class. However, this limitation is easy to get around by declaring the nested class as a friend.
class OutSideClass
{
...
class InSideClass
{
...
};
friend class InSideClass;
};