Safety, undefined behavior, @safe, @trusted

Walter Bright newshound1 at digitalmars.com
Thu Nov 5 14:12:38 PST 2009


Andrei Alexandrescu wrote:
> Nick Sabalausky wrote:
>> Sounds great! The lower-grained safeness makes a lot of sense, and I'm 
>> thrilled at the idea of safe D finally encompassing more than just 
>> memory safety - I'd been hoping to see that happen ever since I first 
>> heard that "safeD" only ment memory-safe. 
> 
> I can think of division by zero as an example. What others are out there?

Casting away const/immutable/shared.



More information about the Digitalmars-d mailing list