[Issue 15399] unaligned pointers are not @safe
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 4 02:00:16 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=15399
--- Comment #6 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to ag0aep6g from comment #5)
> 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;
I don't know what that means. Can you please post a complete example?
--
More information about the Digitalmars-d-bugs
mailing list