CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::CiCharTraits< T > Struct Template Reference

Case insensitive character traits structure. More...

#include <CeresEngine/Foundation/String.hpp>

Inheritance diagram for CeresEngine::CiCharTraits< T >:

Static Public Member Functions

static bool eq (T c1, T c2)
 
static bool ne (T c1, T c2)
 
static bool lt (T c1, T c2)
 
static int compare (const T *s1, const T *s2, size_t n)
 
static const Tfind (const T *s, int n, T a)
 

Detailed Description

template<typename T>
struct CeresEngine::CiCharTraits< T >

Case insensitive character traits structure.

Note
This structure overwrites some functions of the 'std::char_traits' STL structure.

Member Function Documentation

◆ compare()

template<typename T >
static int CeresEngine::CiCharTraits< T >::compare ( const T s1,
const T s2,
size_t  n 
)
inlinestatic

◆ eq()

template<typename T >
static bool CeresEngine::CiCharTraits< T >::eq ( T  c1,
T  c2 
)
inlinestatic

◆ find()

template<typename T >
static const T * CeresEngine::CiCharTraits< T >::find ( const T s,
int  n,
T  a 
)
inlinestatic

◆ lt()

template<typename T >
static bool CeresEngine::CiCharTraits< T >::lt ( T  c1,
T  c2 
)
inlinestatic

◆ ne()

template<typename T >
static bool CeresEngine::CiCharTraits< T >::ne ( T  c1,
T  c2 
)
inlinestatic

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