Simplification of @trusted

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Wed Jun 23 12:34:50 UTC 2021


On Wednesday, 23 June 2021 at 12:32:03 UTC, Ola Fosheim Grøstad 
wrote:
> Then you need to list explicitly what `pure` means in terms of 
> allowed optimizations. Otherwise you'll end up with something 
> that is too weak to be useful for compiler authors.

This includes deadlock issues.

If you allow access to globals you could get deadlocks that 
`pure` would have prevented.



More information about the Digitalmars-d mailing list