Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CElementTraitsBase Class

This class provides default copy and move methods for a collection class.

template< 
   typename T 
> 
class CElementTraitsBase
T

The type of data to be stored in the collection.

Name

Description

CElementTraitsBase::INARGTYPE

The data type to use for adding elements to the collection class object.

CElementTraitsBase::OUTARGTYPE

The data type to use for retrieving elements from the collection class object.

Name

Description

CElementTraitsBase::CopyElements

Call this method to copy elements stored in a collection class object.

CElementTraitsBase::RelocateElements

Call this method to relocate elements stored in a collection class object.

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.

Header: atlcoll.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.