CTypedPtrArray

The CTypedPtrArray class provides a type-safe wrapper for objects of class CPtrArray or CObArray. When you use CTypedPtrArray rather than CPtrArray or CObArray, the C++ type-checking facility helps eliminate errors caused by mismatched pointer types.

Syntax

template< class BASE_CLASS, class TYPE >
class CTypedPtrArray : public BASE_CLASS

At a Glance

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

See Also

CTypedPtrArray Member Functions, CTypedPtrArray Operators, Typed Template Collections, CPtrArray, CObArray