0 Members and 1 Guest are viewing this topic.
Thread thread(foo.bar(param));thread.Launch();
class Foo { void bar(int x); };Foo foo;Thread thread( std::bind(&Foo::bar, &foo, 7) );