#include "SortLinkedList.h" // Insert item x into the list. template void SortedLList::insert( const Object & x ) { LListItr prev = zeroth( ); LListItr curr = first( ); while( !curr.isPastEnd( ) && curr.retrieve( ) < x ) { prev.advance( ); curr.advance( ); } LList::insert( x, prev ); }