union.sizeof

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


zabruk70 wrote:

> On Sunday, 26 March 2017 at 05:09:15 UTC, ketmar wrote:
>> most of the time either location or padding will work the same.
>
> hmm.. you ruined my expirence..
>
> i made another experiment.
> whould you please explain me S2 size 6?
> thank you for you time.

yes. you have a typo in second `writefln`: S1 instead of S2. ;-)


More information about the Digitalmars-d-learn mailing list