Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
StaticComparator< T, C > Class Template Reference

#include <elm/compare.h>

Public Types

typedef T t
 

Public Member Functions

int doCompare (const T &v1, const T &v2) const
 

Static Public Member Functions

static int compare (const T &v1, const T &v2)
 

Detailed Description

template<class T, class C>
class elm::StaticComparator< T, C >

Implementation of the elm::concept::Comparator for values providing a static compare() method.

Parameters
TType of the values.

Member Typedef Documentation

◆ t

typedef T t

Member Function Documentation

◆ compare()

static int compare ( const T &  v1,
const T &  v2 
)
inlinestatic

◆ doCompare()

int doCompare ( const T &  v1,
const T &  v2 
) const
inline

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