CElementTraitsBase Class
This class provides default copy and move methods for a collection class.
template<
typename T
>
class CElementTraitsBase
Parameters
- T
The type of data to be stored in the collection.
Members
Public Typedefs
Name |
Description |
---|---|
The data type to use for adding elements to the collection class object. |
|
The data type to use for retrieving elements from the collection class object. |
Public Methods
Name |
Description |
---|---|
Call this method to copy elements stored in a collection class object. |
|
Call this method to relocate elements stored in a collection class object. |
Remarks
This base class defines methods for copying and relocating elements in a collection class. It is utilized by the classes CDefaultElementTraits, CStringRefElementTraits, and CStringElementTraitsI.
For more information, see ATL Collection Classes.
Requirements
Header: atlcoll.h