On Saturday, 18 November 2017 at 14:22:19 UTC, kerdemdemir wrote:
bool foo(  bool function( double ) controlFoo )

Change that `function` to `delegate` and it should work.

Function pointers aren't allowed to access other locals, but delegates are.

Reply via email to