c++.beta - function type as template argument
-
Christof Meerwald
(15/15)
Jun 28 2003
template
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








Christof Meerwald <cmeerw web.de>