---
class Real {
public:
double data;
};
class A {
public:
Real a;
typeof( a.data ) b; // Fails
};
--- g++ t.C:
t.C:10: invalid use of member `A::a'
t.C:10: ISO C++ forbids declaration of `b' with no type
Posted via Surge1
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---