Is there a way to make new thread for class method?E.g. I have some class and I need to run one of them method in new thread.I found wxamples only with function...
import core.thread; class Foo { void method(){} } void main() { Foo foo = new Foo; Thread t = new Thread(&foo.method); }