#include </home/casse/Dev/elm/src/concepts.h>
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
-
◆ equals()
static bool equals |
( |
const T & |
val1, |
|
|
const T & |
val2 |
|
) |
| |
|
static |
Test if two values are equal.
- Parameters
-
val1 | First value to test for equality. |
val2 | Second 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
-
val1 | First value to test for equality. |
val2 | Second 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: