TYPE RemoveHead( );
Return Value
The element previously at the head of the list.
Parameters
TYPE
Template parameter specifying the type of elements in the list.
Remarks
Removes the element from the head of the list and returns a pointer to it.
You must ensure that the list is not empty before calling RemoveHead. If the list is empty, then the Debug version of the Microsoft Foundation Class Library asserts. Use IsEmpty to verify that the list contains elements.
CList Overview | Class Members | Hierarchy Chart
See Also CList::GetHead, CList::AddHead