------- Comment #6 from bangerth at dealii dot org  2006-11-27 02:00 -------
Excellent, this is exactly the quote that settles this. For 
reference, 14.3.1/3 comes with a (as usual non-normative) example:

  [Example:

     template<class T> struct A {
             static T t;
     };
     typedef int function();
     A<function> a;                  // ill-formed: would declare
                                     // A<function>::t
                                     // as a static member function

   --end example]

So both gcc and icc are wrong.

W.


-- 


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

Reply via email to