@trusted AKA most useless statement ever

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 25 07:01:43 PST 2016


On 11/25/16 5:14 AM, Satoshi wrote:
>
> void safeFunc() @safe {
>     unsafe {
>         auto vi = doUnsafeCall();
>     }
> }

How would this work for marking C functions assumed to be safe as 
trusted? -- Andrei



More information about the Digitalmars-d mailing list