Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.