
25 May
2004
25 May
'04
4:46 p.m.
Hi John, I think I have reduced the problem to an actual bug in EDG:
class A { protected: int x; };
class AA:public A { public: using A::x; };
class TT;
class T { public: class foo:public A // <<-- foo is the culprit! { friend class TT; }; protected: AA aa; };
class TT:public T { public: void foo(){aa.x=0;} };
int main() { }
How presence of unrelated class foo affects access in class AA? Is it important that method is called foo also? Gennadiy.