| title | CAutoPtrArray Class | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 11/04/2016 | |||
| ms.technology |
|
|||
| ms.topic | reference | |||
| f1_keywords |
|
|||
| dev_langs |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 880a70da-8c81-4427-8ac6-49aa8d424244 | |||
| author | mikeblome | |||
| ms.author | mblome | |||
| ms.workload |
|
This class provides methods useful when constructing an array of smart pointers.
Important
This class and its members cannot be used in applications that execute in the Windows Runtime.
template <typename E>
class CAutoPtrArray : public CAtlArray<
ATL::CAutoPtr<E>,
CAutoPtrElementTraits<E>>
E
The pointer type.
| Name | Description |
|---|---|
| CAutoPtrArray::CAutoPtrArray | The constructor. |
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.
CAtlArray
CAutoPtrArray
Header: atlcoll.h
The constructor.
CAutoPtrArray() throw();
Initializes the smart pointer array.
CAtlArray Class
CAutoPtrElementTraits Class
CAutoPtrList Class
Class Overview