![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
c08p421b.cppGo to the documentation of this file.00001 00015 void SortedList::sortedInsert(const ListItemType& newItem) 00016 throw(ListException) 00017 { 00018 bool found; 00019 int newPosition = locatePosition(newItem, found); 00020 aList.insert(newPosition, newItem); 00021 } // end sortedInsert |