#include #include using namespace std ; class Functor1 { public: void operator()(int delay) { cout << "Inside the start of Functor1 method." << endl ; this_thread::sleep_for(chrono::milliseconds(delay)); cout << "Inside the end of Functor1 method." << endl ; } }; int main() { //TO DO Create 2 threads using the Functor1 class //. Pass some delay. Observer the output. Functor1 Functor1Object ; //TO DO Add the join statements so that the //main waits for the threads to finish cout << "main thread\n"; return 0; }