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

#include <elm/equiv.h>

+ Inheritance diagram for Equiv< T >:

Public Types

typedef T t
 

Public Member Functions

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

Static Public Member Functions

static bool equals (const T &v1, const T &v2)
 

Static Public Attributes

static Equiv< T > def
 

Detailed Description

template<class T>
class elm::Equiv< T >

Default implementation of the concept elm::concept::Equiv.

Parameters
TType of compared values.

Member Typedef Documentation

◆ t

typedef T t

Member Function Documentation

◆ equals()

bool equals ( const T &  v1,
const T &  v2 
)
inlinestatic

Compare two values.

Parameters
v1First value.
v2Second value.
Returns
True if both values are equal, false else.

Referenced by HashKey< K >::equals(), and Equiv< elm::dtd::AbstractAttribute * >::isEqual().

◆ isEqual()

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

Member Data Documentation

◆ def


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