Safety, undefined behavior, @safe, @trusted

Nick Sabalausky a at a.a
Thu Nov 5 12:41:43 PST 2009


"Walter Bright" <newshound1 at digitalmars.com> wrote in message 
news:hcvbu7$9i$1 at digitalmars.com...
>
> For example, assigning a random value to a pointer and then trying to read 
> it is undefined behavior.

How would the compiler be able to detect that? Or do you mean assigning an 
arbitrary value? 





More information about the Digitalmars-d mailing list