XII Release 0.1.0
Loading...
Searching...
No Matches
xiiCompareHelper< T > Struct Template Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <Comparer.h>

Public Member Functions

XII_ALWAYS_INLINE bool Less (const T &a, const T &b) const
 Returns true if a is less than b.
template<typename U>
XII_ALWAYS_INLINE bool Less (const T &a, const U &b) const
 Returns true if a is less than b.
template<typename U>
XII_ALWAYS_INLINE bool Less (const U &a, const T &b) const
 Returns true if a is less than b.
XII_ALWAYS_INLINE bool Equal (const T &a, const T &b) const
 Returns true if a is equal to b.
template<typename U>
XII_ALWAYS_INLINE bool Equal (const T &a, const U &b) const
 Returns true if a is equal to b.
template<typename U>
XII_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 xiiCompareHelper< T >

Copyright (c) Theophilus Eriata. All Rights Reserved.

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:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Algorithm/Comparer.h