CList::GetTail

TYPE& GetTail( );

TYPE GetTail() const;

Return Value

See the return value description for GetHead.

Parameters

TYPE

Template parameter specifying the type of elements in the list.

Remarks

Gets the CObject pointer that represents the tail element of this list.

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

See Also   CList::AddTail, CList::AddHead, CList::RemoveHead, CList::GetHead