
16 Feb
2007
16 Feb
'07
8:02 a.m.
"Peter Dimov"
Sergey Ostrovskiy wrote:
Now I want to write something more difficult:
apReports.push_back(make_report(boost::lambda::bind(&CItem::GetItemCount)*boost::lambda::bind((&CItem::GetItemBytes)));
boost::lambda::bind(&CItem::GetItemCount, _1) * boost::lambda::bind((&CItem::GetItemBytes, _1)
Unfortunately this code produces errors during the compiling: error C2678: binary '*' : no operator found which takes a left-hand operand of type 'const boost::lambda::lambda_functor<T>' (or there is no acceptable conversion)