0 Members and 2 Guests 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) );