This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/18747] "template<> int i;" accepted



------- Comment #2 from sambitdash at gmail dot com  2006-06-05 06:29 -------
So is:

struct A
{
};

template<> A i;

which means the specilization syntax does not mandate a need the qualifying
class needs to be a template type. That looks interesting!!!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18747


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]