On 2012-08-04 18:41, Russel Winder wrote:

Isn't there an overload for function and one for delegate?

threadFunctionPointerUnnamed.d(5): Error: constructor core.thread.Thread.this 
called with argument types:
        ((void function()))
matches both:
        core.thread.Thread.this(void function() fn, ulong sz = cast(ulong)0)
and:
        core.thread.Thread.this(void delegate() dg, ulong sz = cast(ulong)0)
Failed: 'dmd' '-v' '-o-' 'threadFunctionPointerUnnamed.d' '-I.'

Hmm, right. I didn't scroll down far enough. Then I don't know.

--
/Jacob Carlborg

Reply via email to