struct A
{
int a;
int b[sizeof(a)]; // <<< line 9
};
szmem.cpp(9) : error C2327: 'A::a' : is not a type name, static, or enumerator
szmem.cpp(9) : error C2065: 'a' : undeclared identifier
szmem.cpp(9) : error C2070: ''unknown-type'': illegal sizeof operand
(c) MS VC 7.1
Неужели так и должно быть?