On Tuesday, 22 September 2015 at 09:57:58 UTC, Kagamin wrote:
Make sure your struct is always sizeof(void*)-aligned.
Could that be automatically enforced somehow based on the contents of AllowedTypes?
Per Nordlöw via Digitalmars-d-learn Tue, 22 Sep 2015 05:52:03 -0700
On Tuesday, 22 September 2015 at 09:57:58 UTC, Kagamin wrote:
Make sure your struct is always sizeof(void*)-aligned.
Could that be automatically enforced somehow based on the contents of AllowedTypes?