just::thread V1.8.0 for Windows, Linux and MacOSX Released
a an_a_object;std::thread dosomething(&a::afunction, &an_a_object,32); // a pointer to an astd::thread t2(&a::function,std::ref(an_a_object),32); // a reference wrapped in std::refstd::thread t3(&a::function,a(),32); // an rvalue, which is copied/moved into the thread storage