title: Unable to bind overloaded static member functions in pybind11
body: <p>I tried to bind the static overloaded functions with pybind11, but got some problems.</p>
  
  <p>Here is the sample code</p>
  
  <pre><code>#include &lt;pybind11/pybind11.h&gt;
  
  namespace py = pybind11;
  
  class TESTDB {
    public:
      static void aaaa(int a, int b) {printf("aaaaa");};
      static void aaaa(int a) {printf("xxxxx");};
  };
  
  PYBIND11_MODULE(example, m) {
  
  
    py::class_&lt;TESTDB&gt;(m, "db")
       .def_static("aaaa", (void (TESTDB::*)(int, int)) &amp;TESTDB::aaaa);
  
  }
  </code></pre>
  
  <p>but it's failed to compile due to</p>
  
  <pre><code>error: no matches converting function ‘aaaa’ to type ‘void (class TESTDB::*)(int, int)’
     .def_static("aaaa", (void (TESTDB::*)(int, int)) &amp;TESTDB::aaaa);
   note: candidates are: static void TESTDB::aaaa(int)
   static void aaaa(int a) {printf("xxxxx");};
   note:                 static void TESTDB::aaaa(int, int)
   static void aaaa(int a, int b) {printf("aaaaa");};
  </code></pre>
  
  <p>any idea?</p>
  
  <p>thank you</p>