Ho un iteratore(l è un vector<int>) :
vector<int>::iterator i=find(l.begin(),l.end(),5);

Come faccio a sapere qual'è l'indice a cui punta i?