January 20, 2003
struct A
{ };

template<typename T>
void f()
{ }

int main()
{
  f<int (int, int)>();
  f<int (int, A &)>();
  f<int (A &, int)>();
  // Error: identifier 'A' found in abstract declarator
}


bye, Christof

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

...and what have you contributed to the Net?