Share via


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.

Members

Public Methods

Name

Description

CSimpleMapEqualHelper::IsEqualKey

(Static) Tests two keys for equality.

CSimpleMapEqualHelper::IsEqualValue

(Static) Tests two values for equality.

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

ATL Class Overview