
23 Jan
2009
23 Jan
'09
1:51 a.m.
I've tested with this, but didn't work, neither.
typedef boost::array
array_t; boost::function f = lambda::bind(std::multiplies<double>(), lambda::bind(&array_t::operator[] const, lambda::_1, 0), lambda::bind(&array_t::operator[] const, lambda::_1, 1)); why?
Because this:
&array_t::operator[] const
is not legal syntax.
In Christ, Steven Watanabe
Thanks.
Then how about
typedef boost::array