Export (0) Print
Expand All

CSimpleMapEqualHelper Class

This class is a helper for the CSimpleMap class.

template < 
   class TKey, 
   class TVal  
> 
class CSimpleMapEqualHelper

TKey

The key element.

TVal

The value element.

Name

Description

CSimpleMapEqualHelper::IsEqualKey

(Static) Tests two keys for equality.

CSimpleMapEqualHelper::IsEqualValue

(Static) Tests two values for equality.

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.

Header: atlsimpcoll.h

Show:
© 2014 Microsoft