title: How to pass an argument to boost::thread?
body: <pre><code>thread_ = boost::thread( boost::function&lt; void (void)&gt;( boost::bind( &amp;clientTCP::run , this ) ) );  
  </code></pre>
  
  <p>is it possible that run has an argument like this :</p>
  
  <pre><code>void clientTCP::run(boost:function&lt;void(std::string)&gt; func);
  </code></pre>
  
  <p>and if yes how my boost::thread call should be written</p>
  
  <p>Thanks.</p>