Safety, undefined behavior, @safe, @trusted

Ellery Newcomer ellery-newcomer at utulsa.edu
Thu Nov 5 17:09:34 PST 2009


Walter Bright wrote:
>> Well, if that's a problem you could fix it by making immutable not
>> shared unless you also put the shared attribute:
>>
>>     immutable Object o;        // thread-local
>>     shared immutable Object o; // visible from all threads
> 
> 
> Aaggghhhh !!! <g>
> 

ditto



More information about the Digitalmars-d mailing list