Is there a list function that returns an iterator to the END of a linked list? I've scanned through the function table we were given in the book and I can find a reference to the end, but I would rather have an iterator. Thanks
Is there a list function that returns an iterator to the END of a linked list? I've scanned through the function table we were given in the book and I can find a reference to the end, but I would rather have an iterator. Thanks
The end method will return an iterator -
list <int> intList;
list<int>::iterator it =intList.end();
zen