------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-11 14:16 ------- Yes this is invalid code, in 4.1.0 and above we get: t.cc:2: error: definition of 'foo<T>::t' is not in namespace enclosing 'foo<T>'
This is a dup of bug 13140. *** This bug has been marked as a duplicate of 13140 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25748