c++ class definition using thread to call other member code example Example: thread c++ member function myThreads[i] = std::thread(&Car::start, myCar);