
Is there a solution?
Does anyone have an idea why the following doesn't compile: using lambda::_1; using lambda::_2; boost::function
&)> f = lambda::ret<double>(_1[0] * _1[1]); It probably fails because Boost.Lambda doesn't know how to find the return type of the subscript operator for boost::array.
In Christ, Steven Watanabe
Let me answer my question:
the 'bind' version that works well:
typedef boost::array