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.
POSITION AddHead( TYPE newElement );
void AddHead( CTypedPtrList<BASE_CLASS, TYPE> *pNewList );
Header file: | Afxtempl.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CTypedPtrList Overview, CTypedPtrList Member Functions, Typed Template Collections