ezEngine  Release 25.03
ezCompareHelper< T > Struct Template Reference

A comparer object is used in sorting algorithms to compare to objects of the same type. More...

#include <Comparer.h>

Public Member Functions

EZ_ALWAYS_INLINE bool Less (const T &a, const T &b) const
 Returns true if a is less than b.
 
template<typename U >
EZ_ALWAYS_INLINE bool Less (const T &a, const U &b) const
 Returns true if a is less than b.
 
template<typename U >
EZ_ALWAYS_INLINE bool Less (const U &a, const T &b) const
 Returns true if a is less than b.
 
EZ_ALWAYS_INLINE bool Equal (const T &a, const T &b) const
 Returns true if a is equal to b.
 
template<typename U >
EZ_ALWAYS_INLINE bool Equal (const T &a, const U &b) const
 Returns true if a is equal to b.
 
template<typename U >
EZ_ALWAYS_INLINE bool Equal (const U &a, const T &b) const
 Returns true if a is equal to b.
 

Detailed Description

template<typename T>
struct ezCompareHelper< T >

A comparer object is used in sorting algorithms to compare to objects of the same type.


The documentation for this struct was generated from the following file: