1 Nov
2008
1 Nov
'08
9:52 a.m.
Hello, Christian. Saturday, November 1, 2008 at 1:15:54 AM you wrote: CH> Hi there, the following snippet doesn't compile which surprises me a CH> little. Could somebody tell what's wrong? Try following: double sum_prob = std::accumulate( d.begin() , d.end() , 0.0 , bind( &point::_prob)(arg1) ); -- Best Regards, Sergey