class node
{
public:
int u;
node* next;
node() {};
void setdata(int a) { u = a; };
void setnext(node* nnext) { next = nnext; };
int Data() { return u; };
node* Next() { return next; };
};
我现在通过 linux 64bit 运行它我发现类节点的大小是 16bytes ... int u 为 4,*next 为 8 .... 其余 4 个字节未知,我如何识别或说出每个类元素的大小