Without having access to the vector, is there a way to determine if the iterator is reaching the end of the vector by using just the iterator?
For example with the following function how do I loop through iter:
list<int>::iterator foo(vector<list<int>>::iterator iter, int value)
{
}
Aucun commentaire:
Enregistrer un commentaire