Share via


CAutoPtrList Class

This class provides methods useful when constructing a list of smart pointers.

template< 
   typename E 
> 
class CAutoPtrList : public CAtlList< 
   ATL::CAutoPtr< E >, 
   CAutoPtrElementTraits< E > 
>

Parameters

  • E
    The pointer type.

Remarks

This class provides a constructor and derives methods from CAtlList and CAutoPtrElementTraits to aid the creation of a list object storing smart pointers. The class CAutoPtrArray provides a similar function for an array object.

For more information, see ATL Collection Classes.

Requirements

Header: atlcoll.h

See Also

Reference

CAtlList Class

CAutoPtrElementTraits Class

Other Resources

CAutoPtrList Members

ATL Class Overview