CAutoPtrArray Class
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

CAutoPtrArray Class 

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

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



The pointer type.

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.

Header: atlcoll.h

© 2015 Microsoft