CTypedPtrList::RemoveTail

TYPE RemoveTail( );

Return Value

The pointer previously at the tail of the list. This pointer is of the type specified by the template parameter TYPE.

Parameters

TYPE

Template parameter specifying the type of elements stored in the list.

Remarks

Removes the element from the tail of the list and returns it.

You must ensure that the list is not empty before calling RemoveTail. 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.

CTypedPtrList OverviewClass MembersHierarchy Chart

See Also   CTypedPtrList::RemoveHead, CPtrList::IsEmpty, CPtrList::GetTail, CPtrList::AddTail