CSimpleMapEqualHelperFalse Class
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

CSimpleMapEqualHelperFalse Class

This class is a helper for the CSimpleMap class.

template < class TKey, class TVal > class CSimpleMapEqualHelperFalse


This traits class is a supplement to the CSimpleMap class. It provides a method for comparing two elements contained in the CSimpleMap object, specifically two value elements or two key elements.

The value comparison will always return false, and in addition, will call ATLASSERT with an argument of false if it is ever referenced. In situations where the equality test is not sufficiently defined, this class allows a map containing key/value pairs to operate correctly for most methods but fail in a well-defined manner for methods that depend on comparisons such as CSimpleMap::FindVal.


Header: atlsimpcoll.h

See Also

Class Members | CSimpleMapEqualHelper | ATL Class Overview

© 2015 Microsoft