$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-11 19:24:06
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