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++/14020] template keyword used as a disambiguator not conforming to ISO C++ 98


------- Additional Comments From giovannibajo at libero dot it  2004-02-05 02:16 -------
> More precisely, the informaous "::template" is not allowed outside of
> a template code.  However, it is allowed in a template even if the
> name preceding it is not dependent.

... which, by the way, is exactly what our diagnostic says:

foo.cc:9: error: `template' (as a disambiguator) is only allowed within 
templates

-- 


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


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