This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: @param i the position to remove @param s the value s is removed @return an iterator pointing to the element after the erased element */ Iterator erase(Iterator i); Iterator erase(string s); /** Gets the beginning position of the list. @return an iterator pointing to the beginning of the list */ Iterator begin(); /** Gets the past-the-end position of the list. @return an iterator pointing past the end of the list */ Iterator end(); /** @return the number of elements in the list. */ long size() const; private: Node* first; Node* last; long length; }; //SLIST_H #endif...
View Full Document
This note was uploaded on 01/17/2012 for the course CSC 1254 taught by Professor Blanks,l during the Fall '08 term at LSU.
- Fall '08