[c++] Can inner classes access private variables?