[Issue 15399] unaligned pointers are not @safe
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Sep 5 15:46:35 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=15399
ag0aep6g at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |ag0aep6g at gmail.com
Resolution|FIXED |---
--- Comment #5 from ag0aep6g at gmail.com ---
Reopening because these very slight variations are still accepted:
1) hosts[n] = Unaligned(0, new Victim);
2) Unaligned u = { p: new Victim }; hosts[n] = u;
--
More information about the Digitalmars-d-bugs
mailing list