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 <boost.lists@gmail.com> wrote:
> 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