January 20, 2003 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?
|
Copyright © 1999-2021 by the D Language Foundation