CAutoPtrArray Class
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.
Syntax
template <typename E>
class CAutoPtrArray : public CAtlArray<
ATL::CAutoPtr<E>,
CAutoPtrElementTraits<E>>
Parameters
E
The pointer type.
Members
Public Constructors
Name | Description |
---|---|
CAutoPtrArray::CAutoPtrArray | The constructor. |
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.
Inheritance Hierarchy
CAtlArray
CAutoPtrArray
Requirements
Header: atlcoll.h
CAutoPtrArray::CAutoPtrArray
The constructor.
CAutoPtrArray() throw();
Remarks
Initializes the smart pointer array.
See also
CAtlArray Class
CAutoPtrElementTraits Class
CAutoPtrList Class
Class Overview
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho