Why is my @pure function @system when placed in a struct?

Dukc ajieskola at gmail.com
Wed Feb 27 18:12:29 UTC 2019

On Wednesday, 27 February 2019 at 18:06:49 UTC, Stefan Koch wrote:
> the struct gets drawn into your delegate-context.
> and I guess that taints  the function.

Even if it did, it should not make the delegate @system. And it 
does not, since this manifest with static functions and function 
pointers too.

More information about the Digitalmars-d-learn mailing list