Export (0) Print
Expand All

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:
© 2014 Microsoft