Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CDefaultElementTraits Class

This class provides default methods and functions for a collection class.

template< 
   typename T 
> 
class CDefaultElementTraits : public CElementTraitsBase< T >, 
   public CDefaultHashTraits< T >, 
   public CDefaultCompareTraits< T >

T

The type of data to be stored in the collection.

This class provides default static functions and methods for moving, copying, comparing, and hashing elements stored in a collection class object. This class derives its functions and methods from CElementTraitsBase, CDefaultHashTraits, and CDefaultCompareTraits, and is utilized by CElementTraits, CPrimitiveElementTraits, and CHeapPtrElementTraits.

For more information, see ATL Collection Classes.

Header: atlcoll.h

Show:
© 2015 Microsoft