Generic map of function pointers. Is possible? Any alternatives?
<p>I'd want to know if it's possible to create a map with several function pointers members of an object. </p>

<p>Is this possible? This methods could have different return type or input arguments.</p>

<p>If not, (I suppose this reading a lot of related topics), I'd want the typical manner this can be done, for example in a GUI, if you change some parameter and then you have to call one setter or another, depending in what textbox you have changed. </p>

<p>Is there any design pattern to do this without using an giant if/else estructure?</p>

<p>Thanks in advance!</p>
