#include
#include
#include
#include
using namespace std;
int main()
{
vector coll;
vector::iterator pos;
coll.push_back(4);
coll.push_back(1);
coll.push_back(-2);
coll.push_back(3);
coll.push_back(24);
coll.push_back(6);
coll.push_back(5);
// Trouver le premier élément superier à 6
pos = find_if (coll.begin(), coll.end(),
bind2nd(greater(),6));
cout << "la première valeur superieure à 6 "
<<" est à la position "
<