Safety, undefined behavior, @safe, @trusted

Walter Bright newshound1 at digitalmars.com
Thu Nov 5 18:17:08 PST 2009


Steven Schveighoffer wrote:
> But what if I don't what the whole function to be trusted, just that 
> creation section?  I have to create a new function just to create the data?

Separate out the trusted code to a separate function.

> Maybe function-level granularity isn't good enough...



More information about the Digitalmars-d mailing list