#ifndef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif
原文地址:https://www.cnblogs.com/-glb/p/10344432.html
时间: 2024-11-09 19:39:47
#ifndef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif
原文地址:https://www.cnblogs.com/-glb/p/10344432.html