Udostępnij za pośrednictwem


CAutoPtrArray Class

This class provides methods useful when constructing an array of smart pointers.

template< 
   typename E 
> 
class CAutoPtrArray : public CAtlArray< 
   ATL::CAutoPtr< E >, 
   CAutoPtrElementTraits< E > 
>

Parameters

  • E
    The pointer type.

Remarks

This class provides a constructor and derives methods from CAtlArray and CAutoPtrElementTraits to aid the creation of a collection class object storing smart pointers.

For more information, see ATL Collection Classes.

Requirements

Header: atlcoll.h

See Also

Reference

CAtlArray Class

CAutoPtrElementTraits Class

CAutoPtrList Class

Other Resources

CAutoPtrArray Members

ATL Class Overview