Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDefaultCompareTraits Class
Collapse the table of content
Expand the table of content

CDefaultCompareTraits Class

This class provides default element comparison functions.

template< 
   typename T 
> 
class CDefaultCompareTraits

T

The type of data to be stored in the collection.

Name

Description

CDefaultCompareTraits::CompareElements

(Static) Call this function to compare two elements for equality.

CDefaultCompareTraits::CompareElementsOrdered

(Static) Call this function to determine the greater and lesser element.

This class contains two static functions for comparing elements stored in a collection class object. This class is utilized by the CDefaultElementTraits Class.

For more information, see ATL Collection Classes.

Header: atlcoll.h

Show:
© 2015 Microsoft