11 Jul
2008
11 Jul
'08
11:24 p.m.
AMDG James Sutherland wrote:
Or, slightly more generally, if we want to bind other boost::function objects and not POD:
typedef function< double(T) > Func; Func func1, func2; ... F0arg f = bind( ret<double>(_1*_2)(func1,func2) );
Any ideas here?
Does this work? using namespace boost::lambda; F0arg f = bind(protect(_1*_2), bind(func1), bind(func2)); In Christ, Steven Watanabe