阅读背景:

如何在编译时检查结构的大小?

来源:互联网 

I want to add code that during compilation checks the size of a structure to make sure that it is a predefined size. For example I want to make sure that the size of this structure is 1024 byte when I am porting this code or when I am adding/removing items from structure during compile time:I want to add code that during compilation chec




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: