@safe D requires which DIP switches?

ag0aep6g anonymous at example.com
Mon Jan 3 17:48:24 UTC 2022


On Monday, 3 January 2022 at 14:27:55 UTC, Bastiaan Veelo wrote:
> As far as I know `@safe` is only really safe with both DIP25 
> and DIP1000 in effect

Conceptually, DIP 1000 does not make your existing @safe code any 
safer. It allows some code to be @safe that had to be @system 
before.

If you just want to write @safe code, and you don't care for 
`scope`, you can ignore DIP 1000. Any safety holes are just bugs, 
with and without `-preview=dip1000`.


More information about the Digitalmars-d mailing list