One thing to note is that erase on SGI's slist still exists, except that it removes the element that the iterator points to in linear time.Quote:
Originally Posted by manasij7479
Then what happens if the iterator returned by begin() is dereferenced?Quote:
Originally Posted by manasij7479