
22 Jan
2009
22 Jan
'09
3:09 a.m.
AMDG jesseperla@gmail.com wrote:
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