Back to index

nux  3.0.0
Public Member Functions
nux::LexicographicCompare< T > Struct Template Reference

Compare two char or TCHAR. More...

#include <TextString.h>

List of all members.

Public Member Functions

unsigned int operator() (const T &lhs, const T &rhs)

Detailed Description

template<typename T>
struct nux::LexicographicCompare< T >

Compare two char or TCHAR.

0 if equal, -1 if(lhs<rhs), +1 if(lhs>rhs)

Definition at line 174 of file TextString.h.

Member Function Documentation

template<typename T >
unsigned int nux::LexicographicCompare< T >::operator() ( const T &  lhs,
const T &  rhs 
) [inline]

Definition at line 176 of file TextString.h.

      if (lhs < rhs) return -1;

      if (rhs < lhs) return 1;

      return 0;

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