This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18738] [3.4 Regression] typename not allowed with non-dependent qualified name
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2005 15:10:47 -0000
- Subject: [Bug c++/18738] [3.4 Regression] typename not allowed with non-dependent qualified name
- References: <20041130134513.18738.belz@kolumbus.fi>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-30 15:10 -------
(In reply to comment #5)
> This issue also affects template parameters: see also: 14.1/2, 14.6/5
>
> namespace N { typedef int my_typedef }
> template < typename N::my_typedef > class X {};
> X<3> variable;
>
> Neither the other comments nor the proposed solution mentions this situation.
> Could you please check this against the proposed solution? In any case the test
> could be added.
Yes the "proposed" (well it has been committed already on the mainline) works for this test.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|mark at codesourcery dot com|unassigned at gcc dot gnu
| |dot org
Status|REOPENED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18738