Hi Ruslan,On Sunday, 11 August 2013 at 13:04:41 UTC, Ruslan Mullakhmetov wrote:
(OwnerTerminated) { running = false; }
This is a template function literal taking an argument named "OwnerTerminated", not a function with an unnamed parameter of type OwnerTerminated. Quite a sublime trap, admittedly.
In the future you might want to post similar questions to the digitalmars.D.learn group instead.
Hope this helps, David
