[Bug c++/16074] Diagnostic in gcc, no error on Comeau (strict)
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Sat Jun 19 10:41:00 GMT 2004
------- Additional Comments From giovannibajo at libero dot it 2004-06-19 10:41 -------
This looks like a bug (or extension?) in Comeau/EDG to me. You always need a
template header for each template in the qualified name, so the decalartion
should be:
template<typename T>
template<>
struct A<T>::B<1> {};
but then it is an explicit specialization without specializing the enlcosing
classes, which is forbidden by [temp.expl.spec]/18.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16074
More information about the Gcc-bugs
mailing list