|
|
|
|
|
by lzybkr
4137 days ago
|
|
Most commonly used compilers have options to help find padding that is possibly not needed. VC++ has a couple of undocumented (but well known and discussed) options /d1reportAllClassLayout and /d1reportSingleClassLayout. GCC has -fdump-class-hierarchy CLANG has -cc1 -fdump-record-layouts |
|