thread_ = boost::thread( boost::function< void (void)>( boost::bind( &clientTCP::run , this ) ) );
is it possible that run has an argument like this :
void clientTCP::run(boost:function<void(std::string)> func);
and if yes how my boost::thread call should be written
Thanks.
See Question&Answers more detail:os