How to work around the infamous dual-context when using delegates together with std.parallelism

sighoya sighoya at gmail.com
Thu May 27 13:00:34 UTC 2021


On Thursday, 27 May 2021 at 12:58:28 UTC, Christian Köstlin wrote:

> That looks nice, but unfortunately my data for servers and 
> users in the real world is not static but comes from a config 
> file.

Okay, but then parametrizing the static lambda with runtime 
parameters should work. The important fact is that the closure 
needs to be static.


More information about the Digitalmars-d-learn mailing list