December 15, 2002
See 14.2 Names of template specializations [temp.names], paragraph 4, of the C++ standard:

struct A
{
  template<int> static void f();
  // Error: no identifier for declarator
};

template<class T> void g(T t)
{
  T::template f<1>();
  // Error: identifier expected
}

int main()
{
  g(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?