
28 Apr
2011
28 Apr
'11
12:59 p.m.
Thanks,
But why the compiler says talks about three arguments provided..there are
only two....(base and exponent)
On 27 April 2011 22:41, Igor R
std::transform(values.begin(), values.end(), values.begin(),boost::bind(pow,_1,exponent));
but the compiler complains for with error C2780 : expects 2 arguments 3 provided...
pow() has a lot of overloads, you have to explicitly cast pow to the required function type. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users