2
4

1 回答 1

13

Why would you want to use #pragma pack(pop, 1)? What would that mean?

The normal use case is something like:

#pragma pack(push, 1) // save current pack setting and set to 1

...

#pragma pack(pop)     // return to previous pack setting
于 2013-10-14T18:50:26.347 回答