[Bug c++/31951] local structure problem

2009-10-05 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2009-10-05 14:58 --- 14.3.1 [temp.arg.type] paragraph 2 in the current C++ standard says: A type without linkage (3.5) shall not be used as a template argument for a template type parameter. This is changing for C++0x, based on the

[Bug c++/31951] local structure problem

2009-10-05 Thread dmitry at lsi dot upc dot edu
--- Comment #3 from dmitry at lsi dot upc dot edu 2009-10-05 14:42 --- (In reply to comment #1) This is not a bug, local classes cannot be template arguments. What does prevent them to be? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31951

[Bug c++/31951] local structure problem

2007-05-17 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2007-05-17 15:48 --- Indeed, like Andrew says. -- bangerth at dealii dot org changed: What|Removed |Added

[Bug c++/31951] local structure problem

2007-05-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-16 23:16 --- This is not a bug, local classes cannot be template arguments. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31951