A colleague told me that, in the following type, all members have unspecified ordering in memory (relative to one another).
I doubt this, because they all have the same access level.
Who is correct?
struct foo { public: int x; public: int y; public: int z; };
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…