Condividi tramite


CDefaultCompareTraits Class

This class provides default element comparison functions.

template< 
   typename T 
> 
class CDefaultCompareTraits

Parameters

  • T
    The type of data to be stored in the collection.

Members

Public Methods

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.

Remarks

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.

Requirements

Header: atlcoll.h

See Also

Other Resources

ATL Class Overview