c++11
samedi 16 mai 2015
What is the best way to find the position of the last occurrence for a specific item?
Something like this but inverse:
int pos = find(v.begin(), v.end(), item) - v.begin();
Aucun commentaire:
Enregistrer un commentaire
Article plus récent
Article plus ancien
Accueil
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire