CSimpleArrayEqualHelper Class
This class is a helper for the CSimpleArray class.
template <class T>
class CSimpleArrayEqualHelper
T
A derived class.
Name | Description |
---|---|
CSimpleArrayEqualHelper::IsEqual | (Static) Tests two CSimpleArray object elements for equality. |
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.
Header: atlsimpcoll.h
Tests two CSimpleArray
object elements for equality.
static bool IsEqual(
const T& t1,
const T& t2);
t1
An object of type T.
t2
An object of type T.
Returns true if the elements are equal, false otherwise.
CSimpleArray Class
CSimpleArrayEqualHelperFalse Class
Class Overview