原文
struct c { uint a, b;}
__gshared const c d = { 3, 4};
__gshared const e = &d.a;
我想:
struct c {
uint32_t a, b;
uint32_t[] arr;
}
取不了常成员
地址.
在内存
中的地址不是不变
的.
d不能取常成员地址
阅读 80
2022-09-17
原文
struct c { uint a, b;}
__gshared const c d = { 3, 4};
__gshared const e = &d.a;
我想:
struct c {
uint32_t a, b;
uint32_t[] arr;
}
取不了常成员
地址.
在内存
中的地址不是不变
的.
相关推荐
精彩评论(0)