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

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

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