union.sizeof

zabruk70 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Mar 25 23:45:19 PDT 2017


On Sunday, 26 March 2017 at 06:38:59 UTC, zabruk70 wrote:

oh sorry sorry - mistyping

ok. DMD use padding, so for real container.sizeof
i should use lastMemeber.offsetof+lastMemeber.sizeof


More information about the Digitalmars-d-learn mailing list