June 15, 2003 malformed template declaration | ||||
---|---|---|---|---|
| ||||
typedef char B;
template<class T>
struct A
{
template <class U> static ::B f();
// Error: malformed template declaration
};
int main()
{
A<int> a;
return 0;
}
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