Hello,
I try to use phoenix bind to bind std::pow for double values, but I get errors, because the template parameters not set:
phoenix::bind(&std::pow, _val, _1)
I would like to compile it with C++11. How can I setup the template parameter on the phoenix bind?
At the moment I have defined a function double mypow(double a, double b) { return std::pow(a,b); }
but can I do this directly with std::pow in the bind call?
Thanks a lot
Phil