|
Boost : |
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2005-06-19 05:48:41
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk