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: "nefercheprure at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2005 15:07:26 -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 nefercheprure at gmail dot com 2005-01-30 15:07 -------
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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18738