c++ 11 - passing member function to thread gives: no overloaded function takes 2 arguments
<p>From what I have looked up, my syntax is correct but my compiler (VS2015) is complaining. Note, I'm using namespace ee with the class Network. Here's the code</p>

<pre><code>    //code that doens't work
    thread clientThread(&amp;ee::Network::clientRun, new ee::Network);
</code></pre>

<p>*note: in the real code I'm not calling new as an argument, I did it here to shorten code. </p>

<p>I've tested the functions and they work, I just can't get them to work using thread. Here is their signatures.</p>

<pre><code>    void serverRun();
    void clientRun();
    void clientRun(string ip);
</code></pre>

<p>My errors are:</p>

<ol>
<li><p>Error    C2661   'std::thread::thread': no overloaded function takes 2 arguments </p></li>
<li><p>abc no instance of constructor "std::thread::thread" matches the argument list</p></li>
</ol>

<p>Does anyone have any insight as to what might be happening in this situation?</p>