[Bug c++/25748] Template instantiated twice
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 11 14:16:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list