CTypedPtrList::RemoveHead

Call this member function to remove the element from the head of the list. This function returns the item that was removed.

You must ensure that the list is not empty before calling RemoveHead. If the list is empty, then the Debug version of the MFC for Windows CE asserts. Use CTypedPtrList::IsEmpty to verify that the list contains elements.

Syntax

TYPE RemoveHead( );

At a Glance

Header file: Afxtempl.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CTypedPtrList Overview, CTypedPtrList Member Functions, Typed Template Collections, CTypedPtrList::RemoveTail, CPtrList::IsEmpty, CPtrList::GetHead, CPtrList::AddHead