共用方式為


CSimpleArrayEqualHelper Class

This class is a helper for the CSimpleArray class.

template < 
   class T  
> 
class CSimpleArrayEqualHelper

Parameters

  • T
    A derived class.

Members

Public Methods

Name

Description

CSimpleArrayEqualHelper::IsEqual

(Static) Tests two CSimpleArray object elements for equality.

Remarks

This traits class is a supplement to the CSimpleArray class. It provides a method for comparing two elements stored in a CSimpleArray object. By default, the elements are compared using operator=(), but if the array contains complex data types that lack their own equality operator, you will need to override this class.

Requirements

Header: atlsimpcoll.h

See Also

Reference

CSimpleArray Class

CSimpleArrayEqualHelperFalse Class

Other Resources

ATL Class Overview