November 25, 2016 Re: @trusted AKA most useless statement ever | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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.
|
Copyright © 1999-2021 by the D Language Foundation