Your intention is unclear. To extend the answer to @JohnZwicnk ...
A functional signature includes its return type, its type of the class object (if it is a member function of the class), and its parameters, which means that there is no easy way to make a general "type of function".
This does not mean that you cannot assign different types of functions to the same type of objects. boost :: function and boost :: mem_function are two examples of how you can "assign" a common function with parameters to an object and walk it around before it is called.
If you intend to simply call each function sequentially without worrying about the type, look at the functors or the aforementioned boost :: mem_function. Both of these functions allow you to either bind or assign parameters to a function call and defer function evaluation for later versions.
source share