Defining a member function pointer to a function inherited privately
<p>When defining a member function pointer that points to a function inherited privately from a base class, how would you declare it?</p>

<p>eg..</p>

<pre><code>// class B defined here

class A; //forward dec

typedef void (B::*fnc_ptr)(); // This? or..
typedef void (A::*fnc_ptr)(); // this...?

class A: private B{
   public:
      A(): ptr(0){};
      ~A(){};

      using B::fnc;

      void setandcall(){
           ptr = &amp;fnc;
           (*ptr)();
      }

      fnc_ptr ptr;
};
</code></pre>
