struct GenListNode {
};
struct Items {
int utype;
union {
int ref;
T value;
GenListNode* link;
}info;
Items() :utype(0), info.ref(0) {};//编译提示这里语法错误
};
int main() {
Items i;
return 0;
}
为什么会出错?