Tools.h++ Manual
22-18 104011 Tandem Computers Incorporated
22
T* removeLast();
Removes and returns the last item in the list, or nil if there are no items in the
list. 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.
T* removeReference(const T* a);
Removes and returns the link with address
a
. The link must be in the list. In
a singly-linked list this function is not very efficient.