29 Jan
2009
29 Jan
'09
4:45 p.m.
AMDG MichaĆ Nowotka wrote:
Ok, i now I've corrected my method to:
double evaluate(const vector<double>& win_probabls) { return accumulate (win_probabls.begin(), win_probabls.end(), 0, lambda::_1 + lambda::bind(log, lambda::_2) ); }
and got following warning (which i can't understand):
c:\program files\boost\boost_1_36_0\boost\lambda\detail\lambda_traits.hpp(389) : warning C4180: qualifier applied to function type has no meaning;
what I'm doing wrong
You're not doing anything wrong. Lambda has never really been warning-proofed for msvc. In Christ, Steven Watanabe