-preview=safer for D
Kagamin
spam at here.lot
Mon Dec 16 09:47:27 UTC 2024
On Saturday, 14 December 2024 at 10:20:34 UTC, Jonathan M Davis
wrote:
> If I want a function to be @safe, I'll mark it with @safe, and
> I'll get all of the appropriate checks.
It's not always trivial. For example, I have an array copy
function, it takes two arrays and calls memmove on them. It's,
like, 80% safe, but it's not obvious what it would take to make
it safer.
More information about the Digitalmars-d
mailing list