[ Reported to the Debian BTS as report #193830. Please CC 193830@bugs.debian.org on replies. Log of report can be found at http://bugs.debian.org/193830 ] 3.3 and 3.4 CVS 20030501 fail to compile the following code (which would compile with previous g++ versions): $ cat in_class_class.cc class Foo { template <class T> struct InFoo; }; template<> struct Foo::InFoo<int> { // ... }; $ g++ -c in_class_class.cc in_class_class.cc:2: error: `template<class T> struct Foo::InFoo' is private in_class_class.cc:6: error: within this context $ Release: 3.3 (Debian) (Debian testing/unstable)
*** This bug has been marked as a duplicate of 10849 ***