I have a collection of elements that I need to operate over, calling member functions on the collection:
std::vector v; ... // vector is popula
For what its worth for_each_if is being considered as an eventual addition to boost. It isn't hard to implement your own.