prog.cpp: In static member function ‘static void CallableClass::StaticFunction()’:
prog.cpp:45:2: error: ‘cout’ was not declared in this scope
cout<<i<<"Do something in parallel (Static function)."<<endl;
^~~~
prog.cpp:45:58: error: ‘endl’ was not declared in this scope
cout<<i<<"Do something in parallel (Static function)."<<endl;
^~~~
prog.cpp:46:2: error: ‘boost’ has not been declared
boost::this_thread::yield(); // 'yield' discussed in section 18.6
^~~~~
prog.cpp: In member function ‘void CallableClass::operator()()’:
prog.cpp:55:2: error: ‘cout’ was not declared in this scope
cout<<i<<" - Do something in parallel (operator() )."<<endl;
^~~~
prog.cpp:55:57: error: ‘endl’ was not declared in this scope
cout<<i<<" - Do something in parallel (operator() )."<<endl;
^~~~
prog.cpp:56:2: error: ‘boost’ has not been declared
boost::this_thread::yield();
^~~~~