#define COMBINE_STRUCT \
struct TTestStruct {double b;int c;}A
struct TTestStructD {
COMBINE_STRUCT;
int d;
int e;
int f;
};
// 嵌套结构体(联合体)COMBINE_STRUCT,8字体对齐,大小为16,所有int d超始为16,再者前方字段(COMBINE_STRUCT)为8字体对齐,所以大小为32.
struct TTestStruct {double b;int c;}A
struct TTestStructD {
COMBINE_STRUCT;
int d;
int e;
int f;
};
// 嵌套结构体(联合体)COMBINE_STRUCT,8字体对齐,大小为16,所有int d超始为16,再者前方字段(COMBINE_STRUCT)为8字体对齐,所以大小为32.