www.digitalmars.com         C & C++   DMDScript  

c++.beta - Boost.function

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?
Jan 20 2003