[Bug c++/14566] 'template' disambiguator on base class gives a bad error message
gdr at integrable-solutions dot net
gcc-bugzilla@gcc.gnu.org
Mon Mar 15 03:12:00 GMT 2004
------- Additional Comments From gdr at integrable-solutions dot net 2004-03-15 03:12 -------
Subject: Re: 'template' disambiguator on base class gives a bad error message
"giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org> writes:
| Yes, 'template' is disallowed outside of template definition, and the base
| class list is never part of the class definition. The rationale is that '<'
| can't be an operator< in that context.
|
| Anyway, I think Jason would agree to allow it if not pedantic, and a better
| error message would surely be desirable.
I agree with the better diagnostic part, but I do not for the "not
pedantic" part.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14566
More information about the Gcc-bugs
mailing list