Using boost::bind to bind member-function to boost::bisect?
问题 I've had problems with this before but now it's somehow working. Now I've following problem. I need to bind values into member-function before I call boost::bisect with the same function. I found pretty good tutorial and I've followed it but it seems that I'm still doing something wrong. At first I created test class where I got following working: std::pair<double, double> result = bisect(&Func, 0.0, 1.0, TerminationCondition()); double root = (result.first + result.second) / 2; After that I