23 Sep
2002
23 Sep
'02
12:47 p.m.
Thanks for the reply, I tried the following: --- std::locale defaultLocale; bool (*pIsSpace)(char, const std::locale&) = &std::isspace; std::string::iterator nonSpace = std::find_if(stringToTrim.begin(), stringToTrim.end(), boost::bind<bool>(std::logical_not<bool>(), boost::bind<bool>(pIsSpace, _1, defaultLocale))); --- But only got "error C2667: 'boost::bind' : none of 38 overloads have a best conversion" etc ... I'm restricted to boost 1.27.0 in the project, could this cause any problems? // Johan