given that you're using vc2010, why not using a lambda directly ?

Code:
std::for_each( v.begin(), v.end(), [this]( const std::string& s ){ bar( s ); } );