다음을 통해 공유


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

Concepts

CSimpleMapEqualHelper Members

CSimpleMapEqualHelperFalse Class

ATL Class Overview