Is there any way to retrieve information on what paramaters were bounded by boost::bind or does this need to be stored manually?
i.e.:
in .h
boost::function has some public typedefs which you should be able to use.
template // Function type R (T1, T2, ..., TN)
class function : public functionN {
public:
// types
typedef R result_type;
typedef T1 argument_type; // If N == 1
typedef T1 first_argument_type; // If N == 2
typedef T2 second_argument_type; // If N == 2
typedef T1 arg1_type;
typedef T2 arg2_type;
// ...
// static constants
static const int arity = N;
Adapted slightly from the boost::function reference.