This topic has not yet been rated - Rate this topic

CDefaultCompareTraits::CompareElements 

Call this function to compare two elements for equality.


static bool CompareElements(
   const T& element1,
   const T& element2 
);

Parameters

element1

The first element.

element2

The second element.

Returns true if the elements are equal, false otherwise.

The default implementation of this function is the equality (==) operator. For objects other than simple data types, this function may need to be overridden.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.