c++.beta - malformed template declaration
- Christof Meerwald (17/17) Jun 15 2003 typedef char B;
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?
Jun 15 2003








Christof Meerwald <cmeerw web.de>