Udostępnij za pośrednictwem


CSimpleMapEqualHelper Class

This class is a helper for the CSimpleMap class.

template <
   class TKey,
   class TVal 
>
class CSimpleMapEqualHelper

Parameters

  • TKey
    The key element.

  • TVal
    The value element.

Remarks

This traits class is a supplement to the CSimpleMap class. It provides methods for comparing two CSimpleMap object elements (specifically, the key and value components) for equality. By default, the keys and values are compared using operator==(), but if the map contains complex data types that lack their own equality operator, this class can be overridden to provide the extra required functionality.

Requirements

Header: atlsimpcoll.h

See Also

Reference

CSimpleMapEqualHelperFalse Class

Other Resources

CSimpleMapEqualHelper Members

ATL Class Overview