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

#include <elm/equiv.h>

Public Types

typedef T t
 

Public Member Functions

bool isEqual (const T &v1, const T &v2) const
 

Static Public Member Functions

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

Static Public Attributes

static EqualsEquiv< T > def
 

Detailed Description

template<class T>
class elm::EqualsEquiv< T >

Implementation of the elm::concept::Comparator for values providing an equals() method.

Parameters
TType of the values.

Member Typedef Documentation

◆ t

typedef T t

Member Function Documentation

◆ equal()

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

◆ isEqual()

bool isEqual ( const T &  v1,
const T &  v2 
) const
inline

References elm::equals().

Member Data Documentation

◆ def

EqualsEquiv< T > def
static

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