@system blocks and safer @trusted (ST) functions

Timon Gehr timon.gehr at gmx.ch
Mon Jul 26 03:46:32 UTC 2021


On 26.07.21 02:21, ag0aep6g wrote:
> On Sunday, 25 July 2021 at 23:16:16 UTC, jfondren wrote:
>> ...
> 
> The language doesn't have @trusted blocks. @trusted function literals 
> (lambdas) are still functions. Everything the documentation says about 
> @trusted functions applies to function literals.

The documentation no longer says much about that.
https://github.com/dlang/dlang.org/pull/2453#commitcomment-53328593

Probably we should fix that soon.


More information about the Digitalmars-d mailing list