CTypedPtrList::RemoveHead

This method removes the element from the head of the list. This method 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.

At a Glance

Header file: Afxtempl.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

TYPE RemoveHead( );

See Also

CTypedPtrList::RemoveTail, CPtrList::IsEmpty, CPtrList::GetHead, CPtrList::AddHead