On Tuesday, 8 June 2021 at 03:32:31 UTC, someone wrote:
On Tuesday, 8 June 2021 at 02:59:28 UTC, rikki cattermole wrote:

SafeD is an old name given to the attributes @safe @trusted @system.

I have the Alexandrescu's book on hand so that explains it.

There is no switch nor any special behavior now that it has long been added to mainline D.

So DMD now enforces it by default ? Will it complain if I make something out of the ordinary then ?

better read carefully how the attribute work, if you need aditional switches or anything, for example, if you want to use return scope parameter and make the compiler give a compiler error if you set this parameter to a variable outside the function's scope, you have to use -dip25 -dip1000 switches

Reply via email to