在下面的结构中,我觉得大小应该是20,但它现在是24.
class X { unsigned int a; unsigned int b; double c; unsigned int d; };
为什么编译器不能安排d16-20个字节?
d
c++
c++ ×1