This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14566] 'template' disambiguator on base class gives a bad error message
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Mar 2004 03:12:06 -0000
- Subject: [Bug c++/14566] 'template' disambiguator on base class gives a bad error message
- References: <20040313064317.14566.ron_hylton@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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