CTypedPtrList::AddHead

Call this member function to add elements to the head of the list. The first version adds a new element before the head of the list. The second version adds another list of elements before the head.

Syntax

POSITION AddHead( TYPE newElement );

void AddHead( CTypedPtrList<BASE_CLASS, TYPE> *pNewList );

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