DefaultCompare Class Reference

#include <compare.h>

Inheritance diagram for DefaultCompare:

Additional Inherited Members

- Static Public Member Functions inherited from CompareTemplate< false >
static MAXON_ATTRIBUTE_FORCE_INLINE COMPARERESULT Compare (const T1 &a, const T2 &b)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (UInt32 h)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (UInt64 h)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Bool i)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Char i)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (UChar i)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Int16 i)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (UInt16 i)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Int32 h)
 
static constexpr HashInt GetHashCode (Utf16Char i)
 
static constexpr HashInt GetHashCode (Utf32Char i)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Int64 h)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Float32 h)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (Float64 h)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (const T *key)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (T *key)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (std::nullptr_t)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (const maxon::details::EnumWrapper< E > &key)
 
static constexpr MAXON_ATTRIBUTE_FORCE_INLINE HashInt GetHashCode (const K &key)
 
static MAXON_ATTRIBUTE_FORCE_INLINE UniqueHash GetUniqueHashCode (const K &key)
 
static MAXON_ATTRIBUTE_FORCE_INLINE Bool IsEqual (const T1 &a, const T2 &b)
 
static MAXON_ATTRIBUTE_FORCE_INLINE Bool LessThan (const T1 &a, const T2 &b)
 
static MAXON_ATTRIBUTE_FORCE_INLINE Bool LessThanOrEqual (const T1 &a, const T2 &b)
 
static MAXON_ATTRIBUTE_FORCE_INLINE const COMPARERESULTCompareHelper (const T1 &a, const T2 &b, OverloadRank0)
 
static MAXON_ATTRIBUTE_FORCE_INLINE auto CompareHelper (const T1 &a, const T2 &b, OverloadRank1) -> decltype((a< b) ? COMPARERESULT::LESS :COMPARERESULT::EQUAL)
 
static MAXON_ATTRIBUTE_FORCE_INLINE auto CompareHelper (const T1 &a, const T2 &b, OverloadRank2) -> decltype(a.Compare(b))
 
static MAXON_ATTRIBUTE_FORCE_INLINE SFINAEHelper< COMPARERESULT, typename T1::PartiallyOrdered >::type CompareHelper (const T1 &a, const T2 &b, OverloadRank3)
 
static constexpr HashInt GetCombinedHashCode (const T &... values)
 
static UniqueHash GetCombinedUniqueHash (const T &... values)