
19 Jun
2005
19 Jun
'05
10:48 a.m.
Hi Andy, sorry for spotting it this late: Andy Little wrote:
typename boost::enable_if< ::boost::is_function_type<boost::function_pointer,Function>, typename boost::function_type_result<Function>::type
^^^^ This does not really make sense because you instantiate 'function_type_result' regardless if 'Function' is a function type. Need 'lazy_enable_if' here.
::type feed_function(Function f, Tuple& t) { return function_feeder<Function>::feed(f,t); }
Regards, Tobias