template class SLList: protected LList { public: SLList(int size=DefaultListSize) : LList(size) {} ~SLList() {} // Destructor LList::clear; bool insert(const Elem& item) { // Insert at right Elem curr; for (setStart(); getValue(curr); next()) if(!Compare::lt(curr, item)) break; return LList::insert(item); } LList::remove; LList::setStart; LList::setEnd; LList::prev; LList::next; LList::leftLength; LList::rightLength; LList::setPos; LList::getValue; LList::print; };