class User
{
public:
User(){}
virtual ~User(){}
void Test( int in )
{
}
}
User user;
vector< boost::function< void() > > functions;
functions.push_back( boost::bind( &User::Test, &user, 2 ) );
functions.push_back( boost::bind( &User::Test, &user, 4 ) );
for_each( functions.begin(), functions.end() , /* What goes here? */ );