DIP 1028---Make @safe the Default---Community Review Round 1

Walter Bright newshound2 at digitalmars.com
Sat Jan 4 21:22:02 UTC 2020

On 1/4/2020 2:42 AM, Atila Neves wrote:
> Most D code is @safe. Nearly all of it is. Unless you're taking addresses of 
> locals (which can be made @safe by using DIP1000 and scope),

When passing the address of a local to a function, nearly all of that can be 
easily and safely fixed by changing the function parameter from `T*` to `ref T`.

More information about the Digitalmars-d mailing list