[Bug c++/21498] clause 7.1.5.3/2 of the c++ is not enforced

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jul 1 22:09:00 GMT 2006



------- Comment #5 from mmitchel at gcc dot gnu dot org  2006-07-01 22:09 -------
This code is not invalid, and G++ is correct to accept it.

DR68 permits this grammatical production and typedef-names for classes are
class-names.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list