26 Jan
2006
26 Jan
'06
5:37 p.m.
Dear all, this new boost bind logical operators is a great enhancement for readability of bind constructions. However I have not found out yet how to deal with e.g. built in types: std::vector<int> vec; std::list<int> lst; //copy_if does not exist in std, I know. std::copy_if(vec.begin(), vec.end(), std::back_inserter(lst), ...); this ... must now boost::bind(std::equal_to<int>(), _1, nNumber), which is quite unreadable, but no such thing like boost::bind::_1 == nNumber (like boost::lambda)? Wkr, me