title: Why can't I bind to winproc?
body: <p>I am trying to use C++11 to solve my favorite pointer problem</p>
  
  <pre><code>LRESULT CALLBACK renderMan::WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
  //some code
  WNDPROC crazy = bind(&amp;renderMan::WindowProc,this,std::placeholders::_1,std::placeholders::_2,std::placeholders::_3,std::placeholders::_4);
  </code></pre>
  
  <p>The error</p>
  
  <pre><code>1&gt;renderman.cpp(50): error C2440: 'initializing' : cannot convert from 'std::_Bind&lt;_Forced,_Ret,_Fun,_V0_t,_V1_t,_V2_t,_V3_t,_V4_t,_V5_t,&lt;unnamed-symbol&gt;&gt;' to 'WNDPROC'
  1&gt;          with
  1&gt;          [
  1&gt;              _Forced=true,
  1&gt;              _Ret=LRESULT,
  1&gt;              _Fun=std::_Pmf_wrap&lt;LRESULT (__cdecl glSurface::* )(HWND,UINT,WPARAM,LPARAM),LRESULT,glSurface,HWND,UINT,WPARAM,LPARAM,std::_Nil,std::_Nil,std::_Nil&gt;,
  1&gt;              _V0_t=glSurface *const ,
  1&gt;              _V1_t=std::_Ph&lt;1&gt; &amp;,
  1&gt;              _V2_t=std::_Ph&lt;2&gt; &amp;,
  1&gt;              _V3_t=std::_Ph&lt;3&gt; &amp;,
  1&gt;              _V4_t=std::_Ph&lt;4&gt; &amp;,
  1&gt;              _V5_t=std::_Nil,
  1&gt;              &lt;unnamed-symbol&gt;=std::_Nil
  1&gt;          ]
  1&gt;          No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
  </code></pre>