Re: Something weird with threads.
- Error: template std.concurrency.spawn(T...) cannot deduce template function from argument types !()(void delegate()) As the message already tells a class method yields a delegate and not a function. Check if that method could be made static. But if you really need to do it this way, you m
Something weird with threads.
While messing with threads from std.concurrency, I've been getting this weird problem. The code below, runs perfectly fine. --- import std.concurrency; void main( ) { spawn( &func ); } void func( ) { } --