title: Get a pointer to object's member function
body: <p>Here is the problem: </p>
  
  <p>1) I have a class like so:</p>
  
  <pre><code>class some_class
  {
  public:
      some_type some_value;
      int some_function(double *a, double *b, int c, int d, void *e);
  };
  </code></pre>
  
  <p>2) Inside <code>some_function</code>, I use <code>some_values</code> from <code>some_class</code> object to get a result.</p>
  
  <p>3) So, I have a concrete object and I want to get a pointer to this object <code>some_function</code>.</p>
  
  <p>Is it possible? I can't use <code>some_fcn_ptr</code> because the result of this function depends on the concrete <code>some_value</code> of an object. </p>
  
  <p>How can I get a pointer to <code>some_function</code> of an object? Thanks.</p>
  
  <pre><code>typedef  int (Some_class::*some_fcn_ptr)(double*, double*, int, int, void*);
  </code></pre>