CStringCompare Class Reference

#include <compare.h>

Detailed Description

This class can be used as template argument for a HashMap if the HashMap shall use C-string keys.

Static Public Member Functions

static UInt GetHashCode (const Char *key)
 
static MAXON_ATTRIBUTE_FORCE_INLINE Bool IsEqual (const Char *a, const Char *b)
 
static MAXON_ATTRIBUTE_FORCE_INLINE COMPARERESULT Compare (const Char *a, const Char *b)
 

Member Function Documentation

◆ GetHashCode()

static UInt GetHashCode ( const Char key)
static

◆ IsEqual()

static MAXON_ATTRIBUTE_FORCE_INLINE Bool IsEqual ( const Char a,
const Char b 
)
static

◆ Compare()

static MAXON_ATTRIBUTE_FORCE_INLINE COMPARERESULT Compare ( const Char a,
const Char b 
)
static