Vision for the D language - stabilizing complexity?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 11 14:44:33 PDT 2016


On 7/11/2016 10:50 AM, deadalnix wrote:
> foo assume that creating an invalid pointer is not safe, while bar
> assume that .ptr is safe as it doesn't access memory. If the slice's
> size is 0, that is not safe.

There's a PR to fix this:

https://github.com/dlang/dmd/pull/5860




More information about the Digitalmars-d mailing list