On 08.06.2012 23:16, Kagamin wrote:
template Aligned(alias Content) { static if(size_t.sizeof==4) align(4) struct Aligned{ mixin Content; } else align(8) struct Aligned{ mixin Content; } }
Ain't structs aligned on word boundary by default? -- Dmitry Olshansky