www.digitalmars.com         C & C++   DMDScript  

c++.beta - function type as template argument

template<class T>
struct A
{ };

int main()
{
  A<int(const int *)> a;
  // Error: ')' expected

  return 0;
}


Extracted from Boost's function library.


bye, Christof

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

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