8
Use the <functional> header and the std::function template class. This allows you to specify function objects with a fixed method signature.
std::map< unsigned int, std::function<int(int,int)> > callbackMap;
Assuming that you index the callbacks using an unsigned int, the above map stores functions that take in two int and return an int.