[Bug c++/16191] Note for missing 'template' reports wrong template paramater

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 26 01:17:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-26 01:17 -------
Maybe I read this sentence wrong then:
The message could be improved by saying "A<T>::template B", or even "A<T>::template B<T>".
(for reference the error message:
jeffmir.cc:2: note: use `A<Q>::template B' to indicate that it is a template
)
which does mentions the T vs Q problem.

-- 


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



More information about the Gcc-bugs mailing list