 <p>How would you call it? C++ is not a dynamically typed language; it is statically typed. Therefore, everything you call must have a specific set of parameters, and each parameter must be typed. There's no way to call "some function" with some number of parameters and hope that it can be sorted out at runtime.</p> <p>You need a specific interface. <code>methodToDo</code> needs to have some kind of interface; without one, you cannot call it.</p> <p>The best you might be able to do is to have multiple versions of <code>handleStringSituations</code>, where each one takes a different member pointer type:</p> <pre><code>void handleStringSituations(string &amp;stringOfSituation , Automat* autoToHandle ,void (Automat::*methodToDo) ()) ; void handleStringSituations(string &amp;stringOfSituation , Automat* autoToHandle ,void (Automat::*methodToDo) (string&amp;)) ; void handleStringSituations(string &amp;stringOfSituation , Automat* autoToHandle ,void (Automat::*methodToDo) (Lamda&amp;)) ; </code></pre>