Location:
e32std.h
Link against:
TIdentityRelation<class T>
Supported from 5.0
A templated class which packages a function that determines whether two objects of a given class type match.
A TIdentityRelation<T>
object is constructed and
passed as a parameter to member functions of the array classes
RArray<T>
and RPointerArray<T>
.
Defined in TIdentityRelation
:
TIdentityRelation()
TIdentityRelation(TBool(*anIdentity)(const T&,const T&));
Constructs the object taking the specified function as an argument.
The specified function should implement an algorithm for
determining whether two class T
type objects match. It should
return:
true, if the two objects match.
false, if the two objects do not match.
|