Safe cast of arrays
Anon via Digitalmars-d
digitalmars-d at puremagic.com
Wed Feb 10 14:52:11 PST 2016
On Wednesday, 10 February 2016 at 20:14:29 UTC, Chris Wright
wrote:
>
> Show a way to read or write outside allocated memory with this,
> or to cause a segmentation fault, and that will require a
> change in @safe. You're looking for something else, data safety
> rather than memory safety. You want to disallow unions and
> anything that lets you emulate them.
Does this count?
http://dpaste.dzfl.pl/96db07a5104e
More information about the Digitalmars-d
mailing list