Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void fn1(int* x, int* y);
- static void fn2(int* x, int* y, int* z);
- static void fn3(char* x, double y);
- ...
- static void executeAlgorithm(
- vector<FN_PTR_TYPE> functionToExecute,
- map<FN_PTR_TYPE, FN_ARG_COLLECTION> args)
- {
- // for each function in 'functionToExecute',
- // get the appropriate arguments, and call the
- // function using those arguments
- }
Add Comment
Please, Sign In to add comment