title: C++ method name as template parameter
body: <p>How do I make the method name (here <code>some_method</code>) a template parameter?</p>
  
  <pre><code>template&lt;typename T&gt;
  void sv_set_helper(T&amp; d, bpn::array const&amp; v) {
    to_sv(v, d.some_method());
  }
  </code></pre>