Re: template class scoping rules

2006-03-14 Thread David Fang
Hi, Since 3.4, (template-)dependent lookup has been changed to conform to the standard. In particular, from http://gcc.gnu.org/gcc-3.4/changes.html: "In a template definition, unqualified names will no longer find members of a dependent base." This allows lookups to be bound at template

template class scoping rules

2006-03-14 Thread Matthew J Fletcher
Hi This cut down example does not compile with gcc 3.4.x / 4.0.x or 4.1.0. test.cpp: In constructor 'Three::Three()': test.cpp:20: error: 'm_Public' was not declared in this scope It does compile with VS2005 / VS6 class One { public: One(); ~One(); public: int m_Pub