Dear Users,
 
I am using bind to calculate the transform of an initial vector in its element by element power (to a given exponent).
I used this syntax
 
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...
 
Do you have any solution/explanation?
 
Thanks in adavnce!