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

sambitdash at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 5 06:55:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list