@trusted AKA most useless statement ever

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 25 08:03:27 PST 2016


On 11/25/16 10:30 AM, Adam D. Ruppe wrote:
> On Friday, 25 November 2016 at 15:01:43 UTC, Andrei Alexandrescu wrote:
>> How would this work for marking C functions assumed to be safe as
>> trusted? -- Andrei
>
> You'd presumably just mark the prototypes as @safe too.

Hmmm... ok, that would work by means of the convention "@safe + no 
implementation really means trusted". Not too convenient I'd say. -- andrei


More information about the Digitalmars-d mailing list