You can use boost::function<...>::result_typeand boost::function<...>::arg1_type, boost::function<...>::arg2_typeetc.
See the man page.
If you want everything to be functional, you can use the synthesis functions in Boost.FunctionTypes.
ltjax source
share