D not considered memory safe
Walter Bright
newshound2 at digitalmars.com
Wed Jul 10 21:47:40 UTC 2024
On 7/8/2024 5:37 PM, Timon Gehr wrote:
> Templates are inferred by default:
Thanks for the explanation. It's just @safe templates cannot call @system functions.
Essentially, if you have mixed safe functions and system functions, unannotated,
and then you apply Shazaam! Make it all @safe! then yes, you're going to have to
deal with the code that cannot safe.
I don't see this as a problem. It's the whole point.
More information about the Digitalmars-d
mailing list