![]() |
ezEngine
Release 25.03
|
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. | |
A comparer object is used in sorting algorithms to compare to objects of the same type.