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++/29729] [4.0/4.1/4.2/4.3 regression] ICE with template class in template function



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


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