Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.92 KB

csimplearrayequalhelperfalse-class.md

File metadata and controls

60 lines (39 loc) · 1.92 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: CSimpleArrayEqualHelperFalse Class
CSimpleArrayEqualHelperFalse Class
11/04/2016
CSimpleArrayEqualHelperFalse
ATLSIMPCOLL/ATL::CSimpleArrayEqualHelperFalse
ATLSIMPCOLL/ATL::CSimpleArrayEqualHelperFalse::IsEqual
CSimpleArrayEqualHelperFalse class
6918af6f-d23d-49eb-8482-c44272f5ffeb

CSimpleArrayEqualHelperFalse Class

This class is a helper for the CSimpleArray class.

Syntax

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

CSimpleArrayEqualHelperFalse::IsEqual

Returns false.

static bool IsEqual(const T&, const T&);

Return Value

Returns false.

Remarks

This method always returns false, and will call ATLASSERT with an argument of false if referenced. The purpose of CSimpleArrayEqualHelperFalse::IsEqual is to force methods using comparisons to fail in a well-defined manner when equality tests have not been adequately defined.

See also

CSimpleArrayEqualHelper Class
Class Overview