c++ create thread with class function on a class function code example Example: thread c++ member function myThreads[i] = std::thread(&Car::start, myCar);