@trusted AKA most useless statement ever

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 25 15:00:31 PST 2016


On Friday, 25 November 2016 at 16:03:27 UTC, Andrei Alexandrescu 
wrote:
> Hmmm... ok, that would work by means of the convention "@safe + 
> no implementation really means trusted". Not too convenient I'd 
> say.

@trusted means "@safe interface, @system implementation", so when 
you have only interface, it's legitimately @safe, @trusted would 
make no sense for it (barring mangling) since there's no 
implementation to apply @trusted to.


More information about the Digitalmars-d mailing list