これから始めます(他の誰かによって提供されます):
int my_function(int, int *, double);
私はこれに行きたい:
typedef boost::function_types::result_type< my_function_type >::type my_result;
typedef boost::function_types::parameter_types< my_function_type >::type my_parameters;
どうすれば入手できmy_function_type
ますか?
注: については知ってBOOST_TYPEOF()
いますが、「おそらく完全に移植可能ではない」というように、少し怖いように見えますか?