[Bug c++/29729] [4.0/4.1/4.2/4.3 regression] ICE with template class in template function

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 7 04:38:00 GMT 2006



------- Comment #3 from bangerth at dealii dot org  2006-11-07 04:38 -------
(In reply to comment #2)
> (In reply to comment #1)
> > Why exactly is this invalid again?
> Because local types cannot be templates.

I don't think that's true. A local type cannot be a template
argument (14.3.1/2) but I can't find why local types can't be
templates.

In any case, I can confirm the ICE.

W.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-11-07 04:38:21
               date|                            |


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



More information about the Gcc-bugs mailing list