This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/21484] [g++] using typename doesn't work in case template : template inheritance


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]