7 Nov
2008
7 Nov
'08
9:19 p.m.
AMDG Christian Henning wrote:
vector< point > points;
// doesn't work std::transform( points.begin() , points.end() , points.begin() , bind( &point::_prob, arg1 ) * val( 2.0 ) );
Certainly, it won't work. You're code does the equivalent of: points[i] = points[i]._prob * 2.0 In Christ, Steven Watanabe