Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CAutoPtrList Class
Collapse the table of content
Expand the table of content

CAutoPtrList Class

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

Important note Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

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


The pointer type.

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.

Header: atlcoll.h

© 2015 Microsoft