11 Jul
2008
11 Jul
'08
11:26 p.m.
Does this work? using namespace boost::lambda; F0arg f = bind(protect(_1*_2), bind(func1), bind(func2));
In Christ, Steven Watanabe
I tried the following (the simple case), and it would not compile: int main() { using namespace boost::lambda; typedef boost::function< double() > F0arg; const double x1=1.1, x2=2.2; F0arg f = bind(protect(_1*_2), bind(x1), bind(x2)); }