[Issue 15399] unaligned pointers are not @safe

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Dec 14 18:07:14 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15399

yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com

--- Comment #1 from yebblies <yebblies at gmail.com> ---
One option is to ban unaligned pointer members altogether.  It could still be
done by casting to size_t, so I don't think we'd be losing much.

--


More information about the Digitalmars-d-bugs mailing list