in function `std::thread::thread<void (&)(), , void>(void (&)())': code example Example: thread c++ member function myThreads[i] = std::thread(&Car::start, myCar);