[Bug c++/11768] confusing error message in specialized template (with two-stage name lookup)

lerdsuwa at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Aug 3 09:49:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2003-08-03 09:49 -------
This is the intended behavior as opposed to
'void X<i>::foo()' for the declaration like
  template <int i> struct X {
    ...
  };

I think a space between the two '<' in the
diagnostics would be nicer.



More information about the Gcc-bugs mailing list