共用方式為


CSimpleArrayEqualHelperFalse Class

This class is a helper for the CSimpleArray class.

template < 
   class T  
>  
class CSimpleArrayEqualHelperFalse

Parameters

  • T
    A derived class.

Members

Public Methods

Name

Description

CSimpleArrayEqualHelperFalse::IsEqual

(Static) Returns false.

Remarks

This traits class is a complement to the CSimpleArray class. It always returns 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 an array containing elements to operate correctly for most methods but fail in a well-defined manner for methods that depend on comparisons such as CSimpleArray::Find.

Requirements

Header: atlsimpcoll.h

See Also

Reference

CSimpleArrayEqualHelper Class

Other Resources

ATL Class Overview