I'd want to know if it's possible to create a map with several function pointers members of an object.
Is this possible? This methods could have different return type or input arguments.
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.
Is there any design pattern to do this without using an giant if/else estructure?
Thanks in advance!