[Bug c++/14566] 'template' disambiguator on base class gives a bad error message
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Mon Mar 15 02:02:00 GMT 2004
------- Additional Comments From giovannibajo at libero dot it 2004-03-15 02:02 -------
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'm keeping this as an enhancement, and I will look into this.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |giovannibajo at libero dot
|dot org |it
Severity|normal |enhancement
Status|NEW |ASSIGNED
Keywords|rejects-valid |diagnostic
Known to work|3.3.1 |
Summary|[3.4/3.5 Regression] |'template' disambiguator on
|'template' disambiguator |base class gives a bad error
|rejected on base class |message
Target Milestone|3.4.1 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14566
More information about the Gcc-bugs
mailing list