The CTypedPtrList class provides a type-safe wrapper for objects of class CPtrList or CObList. When you use CTypedPtrList rather than CPtrList or CObList, the C++ type-checking facility helps eliminate errors caused by mismatched pointer types.
template< class BASE_CLASS, class TYPE >
class CTypedPtrList : public BASE_CLASS
Header file: | Afxtempl.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CTypedPtrList Member Functions, Typed Template Collections, CPtrList, CObList