Catching Errors

Dukc via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 20 12:40:17 PST 2017


On Thursday, 19 January 2017 at 16:55:18 UTC, Jack Stouffer wrote:
> Ok, very visible idiotic moment here:
>
> This is already the rule.

Just got the same (glad) feeling when I was reporting about an 
apparently dangerous feature of RefCounted payload access being 
@safe. I started to write a test case and noticed that while 
payload IS @safe, creating and destroying a RefCounted is not. 
Nothing to worry about!




More information about the Digitalmars-d mailing list