Possible to do receive on a delegate?

Tobias Pankrath tobias at pankrath.net
Wed Feb 19 12:46:50 PST 2014


> I don't really understand why foo has to be static to compile. 
> But this is really nice now :-).
>
> -- Bienlein

A nested function has a context pointer to its outer scope, like 
a delegate. static makes it an ordinary function.


More information about the Digitalmars-d-learn mailing list