This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21484] [g++] using typename doesn't work in case template : template inheritance
- 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: 10 May 2005 16:35:16 -0000
- Subject: [Bug c++/21484] [g++] using typename doesn't work in case template : template inheritance
- References: <20050510082632.21484.smelkov@mph1.phys.spbu.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-10 16:35 -------
Your first example is valid code.
And the second.
And the third.
But the fourth is invalid code and ICC in strict mode also rejects it.
Confirmed, based on the first example, this comes down to using semantics which G++ does not
always get right, there might be already a bug about this somewhere.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Known to fail| |2.95.3 3.0.4 3.2.3 3.3.3
| |3.4.0 4.0.0 4.1.0
Last reconfirmed|0000-00-00 00:00:00 |2005-05-10 16:35:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21484