Tools.h++ Manual
104011 Tandem Computers Incorporated 22-111
22
T removeLast()
Removes and returns the last item in the list. The behavior is undeļ¬ned if the
list is empty. This function is relatively slow because removing the last link in
a singly-linked list necessitates access to the next-to-the-last link, requiring the
whole list to be searched.