yeah, chars (and bytes, and so on) are not aligned. i.e.
align(1) struct B { int qtim; int bid; int ofr; int bidsiz; int ofrsiz; short mode; char ex; byte mmid; char z; }has sizeof == 25. not sure if specs mentions this, but they should.
ketmar via Digitalmars-d-learn Fri, 08 Aug 2014 11:25:58 -0700
yeah, chars (and bytes, and so on) are not aligned. i.e.
align(1) struct B { int qtim; int bid; int ofr; int bidsiz; int ofrsiz; short mode; char ex; byte mmid; char z; }has sizeof == 25. not sure if specs mentions this, but they should.