www.digitalmars.com         C & C++   DMDScript  

c++.beta - malformed template declaration

typedef char B;

template<class T>
struct A
{
  template <class U> static ::B f();
  // Error: malformed template declaration
};

int main()
{
  A<int> a;

  return 0;
}


bye, Christof

-- 
http://cmeerw.org                                 JID: cmeerw jabber.at
mailto cmeerw at web.de

...and what have you contributed to the Net?
Jun 15 2003