[Bug c++/31730] nested typedef to template of same name rejected
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 27 19:17:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-27 20:16 -------
No, the error message is correct. You change the meaning of match_context in
the class.
Doing:
typedef ::match_context<BidIter> match_context;
Fixes the source to be valid C++. Note C++ does not really require a
diagnostic here (it is one of the invalid code that C++ does not require one).
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31730
More information about the Gcc-bugs
mailing list