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

#include </home/casse/Dev/elm/src/concepts.h>

Static Public Member Functions

static bool equals (const T &val1, const T &val2)
 
static bool isEqual (const T &val1, const T &val2)
 

Detailed Description

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

This class provides methods to test for equality.

Implemented by:
elm::Equiv elm::CompareEquiv elm::EqualsEquiv
Parameters
TType of values to test.

Member Function Documentation

◆ equals()

static bool equals ( const T &  val1,
const T &  val2 
)
static

Test if two values are equal.

Parameters
val1First value to test for equality.
val2Second value to test for equality.
Returns
True if both values are equal, false else.
Deprecated:
Non-static version of this method is preferred now.

◆ isEqual()

static bool isEqual ( const T &  val1,
const T &  val2 
)
static

Test if two values are equal.

Parameters
val1First value to test for equality.
val2Second value to test for equality.
Returns
True if both values are equal, false else.
Deprecated:
Non-static version of this method is preferred now.

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