CPrimitiveElementTraits Class
This class provides default methods and functions for a collection class composed of primitive data types.
Syntax
template <typename T>
class CPrimitiveElementTraits : public CDefaultElementTraits<T>
Parameters
T
The type of data to be stored in the collection class object.
Members
Public Typedefs
Name | Description |
---|---|
CPrimitiveElementTraits::INARGTYPE | The data type to use for adding elements to the collection class object. |
CPrimitiveElementTraits::OUTARGTYPE | The data type to use for retrieving elements from the collection class object. |
Remarks
This class provides default static functions and methods for moving, copying, comparing, and hashing primitive data type elements stored in a collection class object.
For more information, see ATL Collection Classes.
Inheritance Hierarchy
CPrimitiveElementTraits
Requirements
Header: atlcoll.h
CPrimitiveElementTraits::INARGTYPE
The data type to use for adding elements to the collection class object.
typedef T INARGTYPE;
CPrimitiveElementTraits::OUTARGTYPE
The data type to use for retrieving elements from the collection class object.
typedef T& OUTARGTYPE;
See also
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