2 ms·
-betterC removes the druntime features, but pointer safety is gained with the -dip1000 flag (with @safe) regardless of whether you use betterC or not. @safe wi
by mhh__ 7y ago
-betterC removes the druntime features, but pointer safety is gained with the -dip1000 flag (with @safe) regardless of whether you use betterC or not.
@safe will also stop you doing obviously unsafe pointer arithmetic unless you abstract it into a @trusted function.